Dear ALl,
i have a problem in my CL pgm
having this entry parameter for the cl program
PGM PARM(&PRM)
DCL VAR(&PRM) TYPE(*CHAR) LEN(10)
i am sending this parameter as C0001
i want to do smthin inside the cl to have a variable that includes this parameter without the first character
that means i want another variable which stores the value 0001
how can this be done,we can have a substring inside a cl?
Thanks in advance
have a nice day
i have a problem in my CL pgm
having this entry parameter for the cl program
PGM PARM(&PRM)
DCL VAR(&PRM) TYPE(*CHAR) LEN(10)
i am sending this parameter as C0001
i want to do smthin inside the cl to have a variable that includes this parameter without the first character
that means i want another variable which stores the value 0001
how can this be done,we can have a substring inside a cl?
Thanks in advance
have a nice day
Comment