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

What is the use of disp parameter?

0 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above

1 Answers  


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


Explain the hierarchy levels in jcl?

0 Answers  






What is COND=EVEN ?

9 Answers   IBM,


What is a procedure?

1 Answers  


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,


i have a string of 80 chars i want to replace 4th char with "a"?

3 Answers   CSC,


what is the alternative to model parameter?

0 Answers  


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

0 Answers  


Categories