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


Please Help Members By Posting Answers For Below Questions

by using cond parameter maximum 8 cond can be coded in single cond means ?explain

977


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1769


How can values be passed from the job stream to an executable program?

875


Explain how can return codes be tested before execution of a job step?

832


I need exexution process for JCL programs

1852






I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

711


What is the purpose of dd?

728


Explain the purpose of the dd keylen parameter?

677


how JCL works?

796


what are JCLLIB and STEPLIB in JCL?

677


how do you code a null statement?

780


Is automatic restart possible in jcl?

742


which parameter is used to check the syntax of a jcl without executing it?

798


What does a disposition of (new,catlg,keep) for a dsn mean?

617


a dd statement has 2 types of parameters. Name them?

650