Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

write a jcl to execute a job by 7:00 am on jan 20,1986?

1116


What are s0c1, s0c4, s0c5, s0c7 and socb?

1183


In job processing, what happens in execution stage?

1210


In sms datasets, what is the function of the dd avgrec keyword?

1103


Explain the function of dd disp parameter?

1133


what JCL Procedures?

1260


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1253


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) ?

2236


how can the same proc be re-used and called by many jobs?

1514


How is a type of file defined in the jcl that executes the cobol program?

1192


Is condition checking possible in jcl? If yes, how?

1297


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1086


How to override loadlib?

2049


Name the statement which can be used to send data to another mvs jes3 node?

1185


What is NOTCAT ?

1343