If a field is declared as a comp-3 field and if we want to
sort a dataset based on this field, then how will the sort
card be???
e.g- if we want to sort by a field which is defined as a
PIC X(5) then we will mention - sort fields=(1,5,ch,a).
Likewise if a field is defined as PIC S9(10)COMP-3 then in
this case how will the sort field be defined (because in
this case a sign is also involved)???
Answer Posted / jegadeesan ramu
sort fields=(1,6,a),format=bi
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
How jcl work to handle various input output file operations?
Explain how can a stopped job be started again?
List in order the hierarchical levels of jcl?
Is automatic restart possible in jcl? If yes, how?
Explain the function of //cntl statement?
How can unused space allocation be returned to the system when a dataset is closed?
What are the rules employed while naming the steps in a job?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
what is the compile process of cobol program expalin with code
In job processing, what happens in execution stage?
How to pass the parameter in parm using linkage section ? (syntax)?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
Define concatenating?