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

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

book

Article ID: 4058

calendar_today

Updated On:

Products

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

Environment

Release: PVALET00200-14.6-Panvalet
Component:

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.

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