i have a jcl containing header body and trailer .in header i
have viswa
body 2
6
1
9
7
trailer reddy .now i need to sort only body in either
asecending or descending order how can i do it
Answer / vadivel r
ICETOOL will help you,
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD *
viswa
2
6
1
9
7
reddy
/*
//OUT DD DSN=... output file
//TOOLIN DD *
* Sort detail records between the header and trailer
DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)
//CTL1CNTL DD *
* Sort the detail records ascending by positions 14-23.
SORT FIELDS=(1,1,CH,A)
/*
Is This Answer Correct ? | 4 Yes | 0 No |
how can we pass external data to instream procedures
5 Answers IBM, Infosys, Ocwen,
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.
can we maintain 2 generations with different Lengths in Same GDG ?
Can you execute a PROC from another PROC?
What you mean by skeleton JCl?
In DCB, what is LRECL,BLKSIZE,DSORG
what are the statements that are not valid to be included in an include statement?
What statement can be used to send data to another mvs jes3 node?
what are the ways of passing data to a cobol program from jcl?
Explain the purpose of dd dummy statement?
Explain about REXX