Created on Dec. 23, 2020, 12:10 a.m. - by Kotesh, G
Hi Team,
Can I get a sort card for identifying the below
Alphabets (A to Z) there should not be any hard coding.
For eg if there is any alphabet between position 10 to 15,records should be included in the file.
Similar case with Numbers and Special characters.
Thanks & Regards,
Kotesh
Check out the below examples. Hope this helps you.
SORT - JCL To Include Numeric Data
https://www.ibmmainframer.com/reference/jcl-example-sample-reference-code#item67
//SYSIN DD *
OPTION COPY
INCLUDE COND=(10,5,FS,EQ,NUM)
/*
JCL SORT - Include Both Uppercase And Lowercase Characters Data(A-Z, a-z)
https://www.ibmmainframer.com/reference/jcl-example-sample-reference-code#item70
//SYSIN DD *
OPTION COPY
INCLUDE COND=(10,5,BI,EQ,MC)
/*
Thank You Srinivasan,Sorted out my issue.
Apologies for the delayed confirmation.
Kotesh.