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...


Say I have a file with 12 records. Each record has the name
of the month. I have to append data in these 12 records
into 1 record. How is it possible?

Answers were Sorted based on User's Feedback



Say I have a file with 12 records. Each record has the name of the month. I have to append data in..

Answer / priya

Read the file. Save the 1st record into output record after
calc its length. Say move in(1:len) to out(1:len), move
in(1:len) to out(len:len2) and so on. Write the out record
into output file.Correct me if am wrong.

Is This Answer Correct ?    7 Yes 1 No

Say I have a file with 12 records. Each record has the name of the month. I have to append data in..

Answer / wing

Create an array then redefine it as a field that is long
enough to accommodate them all, then write the long field.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

How to see the COMP3 value(packd decimal)

2 Answers   iGate,


what is DD statement is used in JCL?

0 Answers  


how are instream data terminated?

3 Answers   Tech Mahindra,


How can an in-stream dataset be terminated?

0 Answers  


Matching Logic in Jcl not in cobol.Could any one please answer this question

0 Answers  


what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


what is the difference between perform varying and perform

1 Answers  


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


What is DISP= (NEW,PASS,DELETE)?

3 Answers   HCL,


What are steplib and joblib? What for they are used?

0 Answers  


Max generations in GDG??

15 Answers   Xansa,


What is dummy parameter in JCL??

3 Answers   TCS,


Categories