Hi Kolusu,
I have this include cond,
INCLUDE COND=(DCURCTYP,EQ,DCUDATAT,AND, * Type = Data type
DSN5,NE,C'OMVS.',&, * Exclude OMVS.** files
DSN5,NE,C'SYS1.',&, * Exclude SYS1.** FILES
DSN5,NE,C'SYS2.',&, * Exclude SYS2.** FILES
DCDCREDT,LT,DATE3P-30,&, * Created < currdate - 30
DCDLSTRF,LT,DATE3P-30,&, * LastRef < currdate - 30
DCDSTGRP,GT,C' ') * Stor grp name not blank
which you helped me set. Now I would like to exclude all the files that
have been created since the last ipl. In order to do that I would have to
add a line like this:
DCDCREDT,LT,ipldate,&, * Created < IPL date
As far as I could gather I do not have such a variable either from DFSORT
or System Symbols. I do not want to resort to rexx (or other language)
programming to do that. It would be quite easy and, a few years ago, I
would generate all the JCL by rexx programming and submit it from within
the rexx. However, I want to have this done only with straightforward IBM
products, so I can pass it to other teams that do not have programming
skills.
Do you think that there is a way to achieve this?
Thank you very much for your assistance,
Best Regards
Jack
On Tue, 23 Aug 2022 at 17:02, Jack Zukt <[email protected]> wrote:
> Hi Kolusu,
>
> I was hoping that DFSORT might have a way to use it directly as I want the
> JCL to be simple to read and maintain. But if I can use a STEP with a /D
> IPLINFO to get it, it would solve my problem.
>
> Regards
> Jack
>
> On Tue, 23 Aug 2022 at 16:56, Sri h Kolusu <[email protected]> wrote:
>
>> >> there a way to use the IPL date on a date comparison on the
>> INCLUDE/OMIT fields?
>>
>> Jack,
>>
>> How do you plan to get the IPL date? Are you going to use /D IPLINFO ?
>> We can generate dynamic symbol for the date parsing that information which
>> can use in your INCLUDE/OMIT
>>
>>
>> Thanks,
>> Kolusu
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
>>
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN