how to convert fb to vb in jcl ?

Answer Posted / sneha

//copy exec pgm=idcams
//syprint dd sysout=*
//sysut1 dd dsn=x.y.z.fb,disp=shr
//sysut2 dd dsn=a.b.c.vb,
// disp=(new,catlg,delete),
// dcb=(recfm=vb,lrecl=80,blksize=1600),
// unit=sysda,space=(cyl,(10,10),rlse)
//sysin dd *
repro infile(sysut1)-
outfile(sysut2)
/*
//sysout dd sysout=*

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of disp parameter?

640


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

655


what operation is performed by job statement?

657


How can values be passed from the job stream to an executable program?

871


how you can direct the data to spool using SYSOUT option?

925






What is notcat 2 - gs?

934


What does a disposition of (MOD,DELETE,DELETE) mean ?

665


When space is allocated for an output dataset, what units can be used?

748


Explain about LMFREE�free data set from its association with data ID

999


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1801


What is the function of dd disp parameter?

654


Must tape dataset definitions include vol=ser specifications?

979


List the various advantages of using jcl language?

852


What do you understand by the term job time – out and how can you overcome that?

599


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.

1949