On Tue, 3 Jun 2014 19:23:35 +0000, Pfister, Nathan 
<[email protected]> wrote:

>T...  We append 5 extra datasets to the end of this tape, some using FDR and 
>some as an IEBCOPY.  I want to be able to continue to do this, without the 
>need to necessarily know how many files I already have.  I could count the 
>files and just use N+1 for the sequencing at the end of the tape, but I was 
>trying to figure out if there was a more robust way that would not require me 
>manually making the change each time I add/remove a volume from my backup.  
>Any suggestions?
> 
There's a germ of a Requirement here.  It would be useful if JCL supported
coding "LABEL=(+1,SL)" to indicate one more than the last data set previously
processed, or even "LABEL=(*.stepname.ddname+/-n,SL)".

Even better if it worked when an intervening step was skipped by "COND=".

BTDT.  That's why I generate such JCL with Rexx -- I can omit a step
and the remainder adjust.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to