I want to JCL sort for Non-COMP and COMP-3 fields
SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS
Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes.
Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JCL Interview Questions

in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths

1 Answers   DELL,


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


Explain the function of //jcllib statement?

0 Answers  


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  






What are three major types of JCL statements? What are their functions?

1 Answers  


List some valid operation codes in JCL

3 Answers  


List the various advantages of using jcl language?

0 Answers  


diff bw vsam and normal flat file?

2 Answers   CGI,


What is the significance of addrspc parameter in the exec statement?

0 Answers  


what is the difference between return code and maxcc?

2 Answers   iGate,


What statement can be used to send data to another mvs jes3 node?

0 Answers  


Categories