I want to get the number of records from the CL program.I used the following code however I am getting the error. Please suggest the solution
DCL VAR(&RCDCOUNT) TYPE(*CHAR) LEN(10) VALUE('0')
RTVMBRD FILE(ATANEJA/SAME1) NBRCURRCD(&RCDCOUNT)
SNDMSG MSG(&RCDCOUNT) TOUSR(ATANEJA)
Error code is : CPD0783
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!