:[EXTERNAL] Re: DFSORT and SMF date selection
Sent by:IBM Mainframe Discussion List
>>Why not just use IFASMFDP?
Micahel,
Probably due to fact that IFASMFDP does not give you the option of
dynamically changing the date. Tim wanted Current date - 7 days worth of
data. IFASMFDP only allo
Thank you, I think this is a better solution for me right now.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
I am not using IFASMFDP I am doing other things in the DFSORT application. I'm
trying not to do all of the I/O to select the records with IFASMFDP, then read
the selected records a second time into DFSORT to process them.
--
Fo
>>Why not just use IFASMFDP?
Micahel,
Probably due to fact that IFASMFDP does not give you the option of
dynamically changing the date. Tim wanted Current date - 7 days worth of
data. IFASMFDP only allows you hard coded dates for DATE parameter. So Tim
has to change the control cards every time
Why not just use IFASMFDP?
Michael
At 02:32 PM 6/14/2021, Tim Hare wrote:
The brain is just not working today I guess. I want to use DFSORT
to select some SMF records for a week; I'm getting myself confused
in the DFSORT application programming guide
Do I want to use
INCLUDE COND=(11,4,
>>since I am not interested in dates in the 20th century, could I use
COND=(12,3,Y2U,GE,&DATE3P-7) ?
Tim,
If you are input data is always going to 20th century then you use Y2U
format in the form Y'string' . Something like this
INCLUDE COND=(12,3,Y2U,GE,Y'DATE3'-7)
Thanks,
Kolusu
DFSORT Develo
Thanks for the solution. I am wondering, though: since I am not interested in
dates in the 20th century, could I use COND=(12,3,Y2U,GE,&DATE3P-7) ? The
rightmost 3 bytes of the SMF date would seem to satisfy Y2U and as long as my
offset of -7 doesn't take me to a previous century I should be
>>The point is to have the job be scheduled weekly, after our last SMF
dump at midnight and
> subsequent accumulation of SMF records so today's date minus 7 gives
Tim,
The SMFDATE format is NOT your typical Date format. A 4-byte SMF date value
in the form P'cyyddd' (X'0cyydddF') where c= centu
The brain is just not working today I guess. I want to use DFSORT to select
some SMF records for a week; I'm getting myself confused in the DFSORT
application programming guide
Do I want to use
INCLUDE COND=(11,4,PD,GE,&DATE3P-7)
or
INCLUDE COND=(11,4,Y4U,GE,&DATE3P-7)
or have I missed