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
Explain how can a jobs execution priority be modified?
How to do automated restart when a job abend?
What is notcat 2 - gs?
Can I share my data with other jobs? How?
Can an individual step be restricted from using all the jobs allowed cpu time?
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.
how you will the direct the data to spool using sysout option?
What are the parameter we cannot use in procedure?
How jcl is used for testing batch programs?
what is JCL?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Where can program checkpoints be stored for use in a restart?
Which dd parameters are required?
Where & How Do You Code Identifier In Jcl?
Is their any set of rules for dd? Explain.