i have this variable:
DCL &TEST *DEC LEN(30) then after CHGVAR the value of &TEST is 'LIB1/PROG1' when it goes here:
CHKOBJ OBJ(&TEST) OBJTYPE(*PGM)
it's unsuccessful because of the quote
CHKOBJ OBJ('LIB1/PROG1') OBJTYPE(*PGM)
how will i pass the value without the quote?
Thanks!
DCL &TEST *DEC LEN(30) then after CHGVAR the value of &TEST is 'LIB1/PROG1' when it goes here:
CHKOBJ OBJ(&TEST) OBJTYPE(*PGM)
it's unsuccessful because of the quote
CHKOBJ OBJ('LIB1/PROG1') OBJTYPE(*PGM)
how will i pass the value without the quote?
Thanks!
Comment