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
Explain the function of the dd dcb keyword?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What are steplib and joblib? What for they are used?
is there any way to execute more than one proc in the same exec statement at the same time..?
What is the function of job statement in jcl?
What is catelog procedure and how many catelog procedure to use in one job?
How to override loadlib?
How can a fb file convert to vb file using sort program?
Is it possible to define dd statements as you want?
What are the utility programs in jcl?
what are the various stages of job processing?
what is a jcl?
Explain how can an in-stream dataset be terminated?
How do you submit a job for execution?