Is it possible to Concatenate many *CHAR variable in one same type variable. I've created a CL who will read records from one file and concatenate them in one varaible which i will use after in my CL. But after exiting the loop i got a varaible with the last record value so the concatenation doesn't work see my CL below :
AUDLOOP: RCVF RCDFMT(LSTAUTHOS) OPNID(ID01)
MONMSG (CPF0864) EXEC(GOTO ENDPGM2)
CHGVAR VAR(&AUTHO) VALUE(%SST(&ID01_LSTAUTHOS 2 8))
SNDMSG MSG(&AUTHO) TOUSR(CGI_KB)
CHGVAR VAR(&AUD) VALUE(&AUD *CAT &AUTHO)
Can someone help with this.
Thanks a lot.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!