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 to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain the hierarchy levels in jcl?
Explain the function of a dd statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
how you can direct the data to spool using SYSOUT option?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to pass the parameter in parm using linkage section ? (syntax)?
What dd statement is used to supply the name of a dataset?
List in order the hierarchical levels of jcl?
What is the function of job statement in jcl?
how would you create a temporary dataset? And where will you use them?
How dummy is used in jcl?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What are s0c1, s0c4, s0c5, s0c7 and socb?