Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
Posted: Mon Oct 16, 2017 11:58 am Post subject:
rgcmohan,
Your JCL is getting the current date and not the time. Getting the PST time is not a big deal , however you need to deal with the day light savings time. Right now UTC - 7 hours = PST time, but that would change where your system is running. On the first sunday of november it would be UTC - 8 hours.
so get the UTC time using the dynamic system symbol &HHMMSS and then convert that into seconds and subtract 7 or 8 hours depending on when you are running. This will give you the PST time in seconds and then you can convert this back to time format.
Ddfsort will always pickup your Mainframe system time, not your computer time.
Show us the screen shot of JESMSGLG, which displays the Time and date.
give us the output of your code.
Here you go
Code:
SDSF OUTPUT DISPLAY XXXXXXX JOB14039 DSID 2 LINE 0 COLUMN
COMMAND INPUT ===> SCROLL
********************************* TOP OF DATA ************************
J E S 2 J O B L O G -- S Y S T E M N M A 1 -
21.32.39 JOB14039 ---- MONDAY, 16 OCT 2017 ----
21.32.39 JOB14039 IRR010I USERID XXXXXXX IS ASSIGNED TO THIS JOB.
Symnames output
Code:
SDSF OUTPUT DISPLAY xxxxxx JOB14039 DSID 106 LINE 0
COMMAND INPUT ===>
******************************** TOP OF DATA ************
****** SYMNAMES SYMBOL STATEMENTS ******
CURDAT,S'&LMON/&DAY/&LYR2'
********** SYMBOL DEFINITIONS **********
CURDAT,C'10/17/17'
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
Posted: Tue Oct 17, 2017 10:29 am Post subject:
Suchay,
So rgcmohan is your other id? Why do you need 2 different ids? Both ids will be deleted if you continue this. _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum