i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?

Answers were Sorted based on User's Feedback



i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? ..

Answer / lu

you have 2 ways :
1) go to file-aid, display your file, and modify it ( from
10th to 18th)
2) coding a program cobol, rad file with the counter and
modify from 10th records to 18th)....

Is This Answer Correct ?    4 Yes 4 No

i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? ..

Answer / heman

I believe there are other options too for this.
1. Write a rexx program
2. Write an ezytrieve
3. SORT utility too can help if the position of the field
in the record is known for edit.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

2 Answers   Merrill Lynch,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


how can you check if a file is empty using jcl?

0 Answers   IBM,


I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.

4 Answers   TCS,


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

0 Answers  






i want to store 20 digits . how will u do it in cobol ?

0 Answers  


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above

3 Answers   HSBC,


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


What are the difference between jcl and jes?

0 Answers  


how to code instream data in procedure?

3 Answers  


Categories