I am reading a database file line by line and want to display the records in QSYSOPR.
i am using CHGVAR VAR(&A) VALUR(B)
where &A = variable in CL, and
B = field from database file
SNDPGMMSG &A MSGQ(QSYSOPR)
But the problem is i am not getting value of B rather i am getting "B" in qsysopr queue.
Please suggest the necesarry changes
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!