Running CA Panvalet PAN#2 and getting a PV001 INVALID COMMAND.

book

Article ID: 4058

calendar_today

Updated On:

Products

CA Database Analyzer (IMS Tools) CA Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC CA Compress Data Compression (IMS Tools) CA Database Analyzer for IMS for z/OS CA Database Copier for IMS for z/OS CA Database Organizer for IMS for z/OS CA Mainframe Extended Terminal Manager (IMS Tools) CA High Performance Recovery for IMS for z/OS CA Database Organizer (IMS Tools) CA Mainframe Program Restart Manager for IMS for z/OS CA Secondary Index Builder for IMS for z/OS CA Secondary Index for IMS for z/OS CA JARS CA JARS Resource Accounting CA JARS SMF Director CA JMR CA MIM Resource Sharing (MIM) CA MIM Data Sharing (MII) CA MIM Tape Sharing (MIA) CA MIM Message Sharing (MIC) MIM BASE Nastel AutoPilot for WebSphere MQ CA Panvalet CA QuickFetch CA Raps VSE CA Scheduler VSE CA SMR CA SOLVE:Operations Automation SOLVE:Access Session Management CA SOLVE:CA Mainframe Connector CA SOLVE:FTS CA SYSVIEW Performance Management NXBRIDGE - SYSYVIEW/ENDEVOR CA SOLVE

Issue/Introduction

Trying to get a directory listing of the member on a PANLIB and the following message is displayed:

 

***** INVALID COMMAND *****              * ERROR MESSAGE  = PV001 *

Cause

PV001     INVALID COMMAND

Reason:

A statement has ++ or -- in positions 1 and 2 but is not a valid CA Panvalet command for the program being executed.

Action:

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.

Environment

Release: PVALET00200-14.6-Panvalet
Component:

Resolution

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
/*

Additional Information

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