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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parameters that are used in creating a gdg?

950


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1570


Name what parameter directs the output of the job log dataset?

788


I need exexution process for JCL programs

2026


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2256


What is the purpose of disp parameter?

849


What is the function of the steplib dd statement?

927


what are the various stages of job processing?

999


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

918


Explain the function of dd name parameter with a 2 part structure; audit.report?

1208


What is catelog procedure and how many catelog procedure to use in one job?

8022


what are JCLLIB and STEPLIB in JCL?

885


Explain the purpose of the dd keylen parameter?

885


What do you understand by the term notcat 2 – gs?

977


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2192