TPX Batch Report fails with 'Unknown command'.
search cancel

TPX Batch Report fails with 'Unknown command'.

book

Article ID: 230237

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

When running a Batch Administration report to list users and profiles, the execution shows several 'Unknown Command' messages:

TPBL0102 12/10/21.344 09:08:59.72 BUILD PANEL: LOGO
 TPBL1000 12/10/21.344 09:09:00.36 EXTRACT GIVING(EXTFILE) PROFILE AND NO SESSIO
 TPBL1012 12/10/21.344 09:09:00.37 REQUIRED PARAMETER LIST MISSING
 TPBL1000 12/10/21.344 09:09:00.37         (PIDXNAME(--------))
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND

----

TPBL1010 12/10/21.344 09:09:00.37 VGET     00130001 return code is   16
 TPBL1053 12/10/21.344 09:09:00.37  means variable not appropriate for this record
 TPBL1000 12/10/21.344 09:09:00.37 ' PROFILE STAGE1 OPTION '
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND
 TPBL1011 12/10/21.344 09:09:00.37 UNKNOWN COMMAND

The control cards were:

EXTRACT GIVING(EXTFILE) PROFILE AND NO SESSIONS                        
        (PIDXNAME(--------))                                           
SET RTITLE1                                                             
' PROFILE STAGE1 OPTION '                                              
SET RTITLE2                                                            
' =======   ========= '                                                
REPORT GIVING(RPTFILE) USING (EXTFILE)                                 
(( ' &PIDXNAME'  ' &PIDXGRP' ))       

Environment

Release : 5.4

Component : TPX for z/OS

Resolution

The job failed due to Line numbers in the far right columns that should not be there. 
Note that the input should be unnumbered as the batch reads all 80 columns as statements.

If there are numbers in the last 8 columns, please do the following:

1) In the command line, issue the command: unnum  
and it will remove the numbers.

2) Then retry the job.


Once the line numbers on the right are removed (using the UNNUM command)  the Batch Administration JCL should execute successfully.