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?
Answer Posted / 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 |
Post New Answer View All Answers
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is the function of the dd dcb keyword?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Mention the types of job control statements?
Can an individual step be restricted from using all the jobs allowed cpu time?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
What is use of restart and how to use it?
What is the motivation behind coding class parameter in job statement?
What are steplib and joblib?
How can the submitting users racf authority be overridden in a job stream?
Can I send output of job to my remote device careerride123?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Suppose I have five jobs to do. But I want to hold one?
what are JCLLIB and STEPLIB in JCL?