ADSM-L

[ADSM-L] AW: [ADSM-L] TSM commands via Z/OS Batch rc 11

2007-11-22 04:43:14
Subject: [ADSM-L] AW: [ADSM-L] TSM commands via Z/OS Batch rc 11
From: VOJTA Othmar <othmar.vojta AT IT-AUSTRIA DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 22 Nov 2007 10:42:39 +0100
Hi Tim, try this - for example:

//*JOBPARM SYSAFF=lparname (SMFID)
//IKJEFT01 EXEC PGM=IKJEFT01
//SYSTSPRT DD   SYSOUT=*
//SYSTSIN DD   *
CONSOLE SYSCMD(F stcnameoftsmserver,-
GRANT AUTHORITY userid CLASSES=SYSTEM)
CONSOLE SYSCMD(F stcnameoftsmserver,-
GRANT AUTHORITY userid CLASSES=SYSTEM)
/*

The second command will proceed, even if the first command fails.

By the way, can you show me your solution with the script?! I do not know THIS 
solution - thanks in advance!

yours sincerely
Othmar

-----Ursprüngliche Nachricht-----
Von: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] Im Auftrag 
von Tim Brown
Gesendet: Mittwoch, 21. November 2007 15:16
An: ADSM-L AT VM.MARIST DOT EDU
Betreff: [ADSM-L] TSM commands via Z/OS Batch rc 11

  Have daily TSM commands that run via batch jobs on Z/OS

  The command files have multiple commands and if any one fails
  it prevents the others from executing

  ANS8001I Return code 11.
  ANS8029E Macro processing terminated.

  ANS8002I Highest return code was 11.

  Is there a way to allow the other commands to execute if a previous one fails

   The wokraround is to place the commands in separate files and run the
   batch job with multiple steps

Tim

<Prev in Thread] Current Thread [Next in Thread>