Variable not found when calling a SQLRPGLE program with parameters in CL program
CALL PGM(LIBXYZ/TESTRPG1) PARM(&LIBNAM &FILNAM)
here LIBNAM AD FILNAM are passed with VALUES to the SQLRPGLE program and at
sql statemet ie. insert INTO LIB/FILl(
LIB is having the value and FILL is not getting value, throwing as variable not found.
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!