Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
You can use a DFSORT job like the following to do what you asked for. You'll need z/OS DFSORT V1R5 PTF UK90013 (July, 2008) to use the new WHEN=GROUP function. If you don't have this PTF, ask your System Programmer to install it (it's free).
I tried this option but itsg ivnig th below error msg when trying to execute.
ABENDED S000 U0016 CN(INTE
OPTION COPY
*
INREC IFTHEN=(WHEN=GROUP,BEGIN=(1,8,CH,NE,C' '),
*
PUSH=(1:1,8))
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Can you please tell me what is the prob.is it that this particular option is not available in mainframe system.
Is there any other way of getting the required output file.Please help
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
Hello swapnam,
The WER messgaes indicate that you are using Syncsort and NOT DFSORT. Since you posted in DFSORT forum, Frank assumed you're using DFSORT and the solution given by him works ONLY with DFSORT and not with Syncsort.