Trying to get a directory listing of the member on a PANLIB and the following message is displayed:
***** INVALID COMMAND ***** * ERROR MESSAGE = PV001 *
PV001 INVALID COMMAND
A statement has ++ or -- in positions 1 and 2 but is not a valid CA Panvalet command for the program being executed.
Verify and correct the spelling, format, or use of command and rerun. If it was a valid command, a CONTROL command was incorrect or missing when required.
This usually means the Panvalet Library has a Control Code on it and therefore the PAN#2 ++PRINT 1-UP needs to have a ++CONTROL nnnn statement before of the ++PRINT specifying the control code.
//INDEX EXEC PGM=PAN#2 //PANDD1 DD DSN=hlq.mlq.your.panlib,DISP=SHR //PANDD2 DD DUMMY //PANDD3 DD DUMMY //SYSPRINT DD SYSOUT=* //SYSPUNCH DD SYSOUT=*
//SYSIN DD * ++CONTROL nnnn ++PRINT 1-UP
For more information on the CA Panvalet CONTROL command, go to the CA Panvalet DocOps site ---
• Logon using your email address and CA Support Online password
• In the Select Product drop down box, search for Panvalet and select the appropriate version
• In the Table of Contents on the right, go to :
+ System Management
>> PAN#2 CONTROL Command