Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
Posted: Thu Nov 20, 2003 3:26 pm Post subject:
Rexx can convert julian to about any date format so that's not a problem. The timing of the job could be the potential bug as you suggest. You could always include the 0 gdg and get an extra minus gdg and cover yourself.
Thanks a lot Kolusu and Frank for your valuable responses.
Kolusu,
My file strucure is changed a bit. The file length is 174 and is FB.
The date filed (PIC X( 08)) starts at the position 90 and the length is 8.
What are the changes I need to do if I'm using the FINAL solution provided by you..?
Note: Hope I don't need to change anything except the program name
if I'm using SYNCTOOL. _________________ Regds,
Somu
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Fri Nov 21, 2003 11:16 am Post subject:
Somuk,
The only change you will need is to specify the start position on outrec.Take a look at the outrec statement(there will be 2 of them for the final solution)
change this
Code:
OUTREC=(C' INCLUDE COND=(1,6,CH,EQ,C',X'7D',
to
Code:
OUTREC=(C' INCLUDE COND=(90,6,CH,EQ,C',X'7D',
Note that start position is changed to 90 instead of 1. so you need to change that on the outrec of c2 file also.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue May 30, 2006 4:50 pm Post subject:
With z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006), you can now use various types of past and future date constants directly in the INCLUDE, OMIT, INREC, OUTREC and OUTFIL statements. For example, in this case, you can use a DFSORT job like this:
All times are GMT - 5 Hours Goto page Previous1, 2
Page 2 of 2
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