Hi,
My reqt is to open a dataset in browse mode when I put the cursor on the dataset name and type the macro name on command line. This is working fine but when I put JEM in JCL, the symbolic parameters will be expanded and the full job name comes in NOTELINE. I am not able to extract the job name even if I put cursor on the dataset which is in NOTELINE
Job
000442 //STEP1 EXEC PGM=TESTPGM
000443 //INPUT1 DD DSN=*.STEP12.SORTOUT,DISP=SHR
000444 //OUTPUT DD DSN=&HLQAO..&DMC..&SNODE..STEP17.GDGJCL,
=NOTE= --OUTPUT DD DSN=ASB#UP.TST.STEP1.GDG,
000445 // UNIT=DISK,DISP=(,CATLG,DELETE),
000446 // DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000),
000447 // SPACE=(CYL,(10,50),RLSE)
Code
"ISREDIT (LINE) = LINENUM .ZCSR"
"ISREDIT (LINE) = CURSOR"
"ISREDIT (BRLINE) = LINE .ZCSR"
PARSE VAR BRLINE 'DSN=' BRDSET ','
"ISPEXEC BROWSE DATASET('"BRDSET"')"
EXIT
Please help me how to extract the data from NOTELINE.
Thanks
Chidam