TLMSTRS - Return code of 4. No messages in TLMS041 report.
search cancel

TLMSTRS - Return code of 4. No messages in TLMS041 report.

book

Article ID: 196455

calendar_today

Updated On:

Products

TLMS Tape Management

Issue/Introduction

We are running procedure CATTRS  (program TLMSTRS), with "TLMS044,CHG".  This step always gets a return code of 4 but I don't see any messages, warning.
Q1. Is program TLMSTRS always return code 4 ?
Q2. What is meaning of return code 4 ?

Resolution

The reason for the return code of 4 with nothing in the TLMS041 is due to a message being suppressed within TLMS.

TLMSSWTO is the one issuing the RC4 within TLMSTRS.  TLMSSWTO is used to suppress,delete a WTO/Message within TLMS.  If you look at your TLMSHTAB from the TLMSSTAT, you'll see the following:

TLMSHTAB:

MSG ID. OPTION

CAT9013P NDEL

CAT4541I SUP

The CAT4541I is a message from TLMSTRS. CAT4541I WARNING***MISSING GENERATION (G0000V00).

This is one of the most suppressed message within TLMS.  So what you are doing is correct.  When TLMSSWTO returns to TLMSTRS, the RC is 4 since it was suppressed.