I have two input files
i/p1
name id-key flag date
i/p 2
name id-key date
if id-key matches in the both the files then it should
write the output file from i/p1 with flag 'Y'. It should be
done thru JCL sort card ,Please provide the info on this.
---Note : output file should have all records from i/p1
with proper Flag.
Answer Posted / muttaiah
Please give us a sample of both the I/P files and the data
you expect in O/P files so that it will be useful for us to
answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Are there any set of rules for the names of the steps used in a job?
How can unused space allocation be returned to the system when a dataset is closed?
//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 /*
Explain how can an in-stream dataset be terminated?
How do you overcome this limitation ?
What is jcl in mainframe?
What is the function of the steplib dd statement?
Explain the function of job statement in jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
Is it possible to left uncode disp?
Explain dd statement in jcl?