Page 1 of 1
SORT
Posted:
Tue May 14, 2013 5:53 pm
by SATYAUNDRALLA
Hi,
I AM HAVING THE FLAT FILE WITH INPUT BELOW FORMAT
1234CI56789ABCDEFGHIJKL
3243DU786ACBDEFJKL
I WANT TO GET THE OUTPUT BASED ON CONDITION IF 5-6 POSITIONS ARE CI THEN COPY FROM POSITION 12-20
PLEASE HELP ME, HOW TO GET IT DONE IN JCL
Regards,
Satya
Re: SORT
Posted:
Tue May 14, 2013 6:21 pm
by BillyBoyo
OPTION COPY
INCLUDE COND=(5,2,CH,EQ,C'CI')
INREC BUILD=(12,9)
Re: SORT
Posted:
Tue May 14, 2013 7:26 pm
by dick scherrer
Hello and welcome to the forum,
When posting, please do not use ALL CAPS as this is considered Shouting.
When posting jcl, code, data, etc that should be posted n "fixed-font", use the Code tag (as BillyBoyo did in his reply.
Also, please use a meaningful title - SORT tells a "helper" nothing.
Which sort product is being used? I'll relocate this into the correct of the forum - it is Not a JCL question.
Good luck!
d
Re: SORT
Posted:
Thu May 16, 2013 3:41 pm
by SATYAUNDRALLA
Thanks ! BillyBoyo and Dick,
For your quick response...
Re: SORT
Posted:
Thu May 16, 2013 5:39 pm
by NicC
And how about an answer to Dick's query. You are asking a sort question not a JCL question. There are 2 different sections for sort products and this topic has to be moved to the correct one - so, DFsort or Syncsort?
Re: SORT
Posted:
Fri May 17, 2013 11:48 pm
by NicC
No reply - moving to DFSort