I have a input file.
Data like: ABCDEFGH....
i want out put file like
AB
BC
CD
DE....How can do this??
Answer Posted / sathish
//S1 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTOUT DD SYSOUT=*
//SORTIN DD *
ABCDEFGH
/*
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,HEADER1=(1:1,2,/,1:2,2,/,1:3,2,/,1:4,2)
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is the record format of an output dataset specified?
Is condition checking possible in jcl? 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
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
when does a dataset go uncataloged?
List in order the hierarchical levels of jcl?
What do you understand by jcl?
what is “Cond= even” and “Cond=only”?
Describe the various parameters utilized in the creation of a gdg?
i want to store 20 digits . how will u do it in cobol ?
How can unused space allocation be returned to the system when a dataset is closed?
How do you access an uncatalogued dataset in a jcl?
how you will the direct the data to spool using sysout option?
what are JCLLIB and STEPLIB in JCL?
which utility is used to run a cobol-db2 program?