Re: DFSORT and SMF date selection

2021-06-15 Thread Martin Packer
:[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

Re: DFSORT and SMF date selection

2021-06-14 Thread Tim Hare
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

Re: DFSORT and SMF date selection

2021-06-14 Thread Tim Hare
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. --

Re: DFSORT and SMF date selection

2021-06-14 Thread Sri h Kolusu
>>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

Re: DFSORT and SMF date selection

2021-06-14 Thread Michael Oujesky
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

Re: DFSORT and SMF date selection

2021-06-14 Thread Sri h Kolusu
>>since I am not interested in dates in the 20th century, could I use COND=(12,3,Y2U,GE,) ? 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 Development

Re: DFSORT and SMF date selection

2021-06-14 Thread Tim Hare
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,) ? 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 OK,

Re: DFSORT and SMF date selection

2021-06-14 Thread Sri h Kolusu
>>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=

DFSORT and SMF date selection

2021-06-14 Thread Tim Hare
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,) or INCLUDE COND=(11,4,Y4U,GE,) or have I missed something