I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE
ONE FIELD AS CUSTOMER IDENTITY NUMBER FIELD WHICH IS A SIGNED
FIELD. HOW TO SEQUENTIALLY INCREMENT THIS FIELD USING OVERLAY
PARAMETER?.



I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE ONE FIELD AS CUSTOMER IDENTITY NUMB..

Answer / mdv

What about the rest of the fields?

Search for SEQNUM in SORT.
You can generate a sequnece as you want.
You can define the max limit the sequence can reach, where
the sequnece should start, no. of bytes the sequence should
use etc ...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


how to modify the copy book?explain with examples

2 Answers   TCS,


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

0 Answers  


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  






What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


What is the exact difference between PRTY and DPRTY

2 Answers   iGate,


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,


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

0 Answers  


i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

1 Answers   TCS,


Categories