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 / muttaiah

MDV:

If you are using this stmt
outrec fields = (1,2,78X,2,2,78X,3,2,78X,4,2,78X,5,2,78X)

Your LRECL for O/p File would 400

AB followed by 78 blanksBCfollowed by 78blanks....

Did you try the code which you placed there...

I'm not sure of 2nd step..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of IEBGENER utility?

1230


Where & How Do You Code Identifier In Jcl?

1326


Explain the function of a dd statement?

1279


What are some jcl statements that are not allowed in procedures?

1291


What is use of restart and how to use it?

1363


Which statement is used to identify the private libraries in job?

1249


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1272


how do you code a null statement?

1387


What are steplib and joblib?

1225


How to do automated restart when a job abend?

1480


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

2409


Is it possible to define dd statements as you want?

1166


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

1181


Define concatenating?

1152


Is there any command to check wether the ps file is in sorted order?

2960