ADSM-L

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

2007-11-24 11:15:02
Subject: Re: [ADSM-L] TSM commands via Z/OS Batch rc 11
From: Wanda Prather <wprather AT JASI DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sat, 24 Nov 2007 10:14:43 -0600
Instead of running your commands as a macro, have you tried running them
as a TSM script?  With scripting there is some basic-level IF-THEN
functionality where you can check return codes.

Look in the ADMIN GUIDE under "automating server operations", and "Using
Logic Flow Statements in a Script".






>   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>