Pedro wrote:TSO EXEC 'XT.MNP121.PNL(XSTN009)''DEBUG'
another example of needing a delimiter between objects. You need a blank before 'DEBUG'
Pedro, in starting of my previous post, Firstly i tried with the space between object '(XSTN009)' and 'DEBUG'. But it threw the error. Both ways i tried, giving a space or without space.
Below mentioned is the statement in which LIBDEF is used.
I have changed DETTBLDS in clist.
Earlier it was like
SET &DETTBLDS = &STR(XT.XRTS.TABLOUT1)
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
Later
SET &DETTBLDS = &STR(XT.XRTS.COMMON.DISK.TABLOUT1
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
SET &SECTBLDS = &STR(SYS4.XEVL.TABLOUT)
Code present in the program XRTS2600 is given below.
WS-DATASET = DATASET
ISPF-LIBDEF = LIBDEF
WS-ISPTLIB = ISPTLIB
DETTBLDS =XT.XRTS.COMMON.DISK.TABLOUT1
SECTBLDS =SYS4.DEVL.TABLOUT
STRING '(' DELIMITED BY SIZE
QUOTE DELIMITED BY SIZE
DETTBLDS DELIMITED BY SPACES
QUOTE DELIMITED BY SIZE
' ' DELIMITED BY SIZE
QUOTE DELIMITED BY SIZE
SECTBLDS DELIMITED BY SPACES
QUOTE DELIMITED BY SIZE
')' DELIMITED BY SIZE
INTO WS-DSN-LIST.
CALL 'ISPLINK' USING ISPF-LIBDEF WS-ISPTLIB WS-DATASET
WS-DSN-LIST.
ISPF-LIBDEF = LIBDEF
WS-ISPTLIB = ISPTLIB
DETTBLDS =XT.XRTS.COMMON.DISK.TABLOUT1
SECTBLDS =SYS4.DEVL.TABLOUT
STRING '(' DELIMITED BY SIZE
QUOTE DELIMITED BY SIZE
DETTBLDS DELIMITED BY SPACES
QUOTE DELIMITED BY SIZE
' ' DELIMITED BY SIZE
QUOTE DELIMITED BY SIZE
SECTBLDS DELIMITED BY SPACES
QUOTE DELIMITED BY SIZE
')' DELIMITED BY SIZE
INTO WS-DSN-LIST.
CALL 'ISPLINK' USING ISPF-LIBDEF WS-ISPTLIB WS-DATASET
WS-DSN-LIST.
Let me try the option 7.8, i will update soon.