View previous topic :: View next topic
|
Author |
Message |
Piyush Jadhav
New User
Joined: 06 Feb 2014 Posts: 7 Location: India
|
|
|
|
Hi, While I try to check for multiple conditions on same positions be to included in my final output file,
I tried coding - instead multiple OR conditions but I am getting JCL ERROR for this, am I missing anything here or I will have to code this multiple times ?
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(2,1,CH,NE,L(C'7',C'6',C'3',C'2',C'5',C'4',C'1',C'0'))
//* |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2119 Location: USA
|
|
|
|
JCL ERROR has not a minor relation to the SORT utility statements!
Check you JCL.
There must be also a message in SDSF log: what exactly is wrong in your JCL (but not in your SORT control statements). |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1306 Location: Bamberg, Germany
|
|
|
|
Try the following snippet instead:
Code: |
OPTION COPY
OMIT COND=(2,1,SS,EQ,C'76325410') |
|
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2119 Location: USA
|
|
|
|
Joerg.Findeisen wrote: |
Try the following snippet instead:
Code: |
OPTION COPY
OMIT COND=(2,1,SS,EQ,C'76325410') |
|
It has nothing to do with the JCL ERROR |
|
Back to top |
|
|
Piyush Jadhav
New User
Joined: 06 Feb 2014 Posts: 7 Location: India
|
|
|
|
Thanks a lot Joerg and Sergeyken for quick help. it sorted my jcl. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2119 Location: USA
|
|
|
|
Piyush Jadhav wrote: |
Thanks a lot Joerg and Sergeyken for quick help. it sorted my jcl. |
It cannot fix any JCL ERROR.
Just not possible. |
|
Back to top |
|
|
|