passing a value from file to a Symbolic
Posted: Tue Mar 20, 2012 1:33 am
Hi,
I have an input file having some records like shown below
QC12345
12345556
14143142
23423432
24234234
24343444
I need to extract the 1st record "QC12345" and pass it to a Symbolic say Set QCNAME=QC12345
So that i can use it to name the output file DD DSN = XXXX.OUTPUT.&QCNAME., DISP=(NEW,CATLG,DELETE)
I can extract the first record using DFSORT , INREC .
But please help me with the option to pass that value to a Symbolic. Is there any way to pass a value from a file to Symbolic ? Is it possible?
Please advice. Thanks in advance.
I have an input file having some records like shown below
QC12345
12345556
14143142
23423432
24234234
24343444
I need to extract the 1st record "QC12345" and pass it to a Symbolic say Set QCNAME=QC12345
So that i can use it to name the output file DD DSN = XXXX.OUTPUT.&QCNAME., DISP=(NEW,CATLG,DELETE)
I can extract the first record using DFSORT , INREC .
But please help me with the option to pass that value to a Symbolic. Is there any way to pass a value from a file to Symbolic ? Is it possible?
Please advice. Thanks in advance.