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
what sort card you will use to copy the data from one dataset to another dataset?
Explain the function of a dd statement?
what are JCLLIB and STEPLIB in JCL?
Is it possible to left uncode disp? If yes, how?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
which utility is used a dummy utility?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
how would you create a temporary dataset? And where will you use them?
What is use of restart and how to use it?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are the jcl procedures?
How to alter the parameters for the existing gdg?
Must tape dataset definitions include vol=ser specifications?
How gdg are concatenated?