I have a input file.
Data like: ABCDEFGH....
i want out put file like
AB
BC
CD
DE....How can do this??
Answer Posted / prakash
using inrec in sort utility , we can perform it.
//sysih dd *
sort fields = copy
inrec fields = (10:1,2, 13:2,2, 16:3,2)
(or)
using reference modification in cobol.
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
What are steplib and joblib? What for they are used?
how can the same proc be re-used and called by many jobs?
What are hierarchy levels in jcl?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What are the 2 types of parameters in dd statement?
Explain how can the attributes of one sms dataset be copied to another dataset?
When output dataset space is required, what quantity categories are used?
List the different jcl statements that are not permitted in the procedures?
Must tape dataset definitions include vol=ser specifications?
Explain the function of the dd dcb keyword?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what are the statements that are not valid to be included in an include statement?
which parameter is used to check the syntax of a jcl without executing it?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
what is the resolution for sb37 error