Using LPALIST command with DUPLICAT option in SYSVIEW Batch (GSVXBAT)
search cancel

Using LPALIST command with DUPLICAT option in SYSVIEW Batch (GSVXBAT)

book

Article ID: 445622

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

Users often attempt to pass DUPLICAT as a direct parameter (e.g., LPALIST DUPLICAT), which results in no data or an error because the LPALIST command does not accept positional parameters.

 

Environment

SYSVIEW 17.0 - z/OS supported releases - 

Cause

In SYSVIEW, DUPLICAT is a subcommand of LPALIST, not a parameter. 

Resolution

To use the DUPLICATE subcommand in a batch environment (GSVXBAT), the  primary command must be chained with the subcommand using a semicolon within the COMMAND statement.

Implementation Steps: 

  1. Use the program GSVXBAT in the JCL.
  2. In the SYSIN data, define the command as (LPALIST;DUPLICAT).
  3. Include a SCROLL command to ensure the batch interface captures all rows of the display.
  4. Use COMMAND=(END) to properly terminate the session.

Here is the SAMPLE JCL: 

//YOURJOB  JOB (ACCOUNT),'SYSVIEW BATCH',CLASS=A,MSGCLASS=X
//*
//STEP01   EXEC PGM=GSVXBAT,REGION=0M,
//             PARM='SSID=GSVX,LINECNT=66,SHOWINP=YES,MENUOFF'
//STEPLIB  DD DISP=SHR,DSN=your.SYSVIEW.CNM4BLOD
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
  COMMAND=(LPALIST;DUPLICAT)
  SCROLL
  COMMAND=(END)
/*
//