Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-24 Thread Andrew Rowley
On 24/07/2023 11:17 pm, Sri h Kolusu wrote: Was that a typo ? Isn't it supposed to be SMF15SCN ? or you are using SMF14 record layout with SMF15 Interchangeably as they are both have the same layout? The SMF 14 and 15 layouts are the same, so there is one implementation for both. This aligns

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-24 Thread Sri h Kolusu
>>|| r15.smsClassSections().get(0).smf14scn().equals("")) Andrew, Was that a typo ? Isn't it supposed to be SMF15SCN ? or you are using SMF14 record layout with SMF15 Interchangeably as they are both have the same layout? Thanks, Kolusu ---

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-23 Thread Andrew Rowley
On 22/07/2023 12:46 am, shivang sharma wrote: Hi , I am not a DFSort expert but we have a requirement to extract datasets which has storclas (SMF15SCN) = blank. Not DFSORT, but this is what it looks like in Java using EasySMF: import java.io.IOException; import com.blackhillsoftware.smf.SmfRe

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-22 Thread Sri h Kolusu
>> So for example, SMF15_HIPER_SIZE will be 20 bytes (if the HiperBatch section >> exists)? KB, Yes, that is correct. The COBOL exit in my earlier post does consider that and here is the relevant code. IF WS-BITS-4 = 1 MOVE 20 TO WS-SMF15HPS END-IF Thanks, Kolusu DFSORT

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-21 Thread kekronbekron
Hi Sri, So for example, SMF15_HIPER_SIZE will be 20 bytes (if the HiperBatch section exists)? https://www.ibm.com/docs/en/zos/2.4.0?topic=mapping-hiperbatch-section - KB --- Original Message --- On Friday, July 21st, 2023 at 9:48 PM, Sri h Kolusu wrote: > > > I am not a DFSort expe

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-21 Thread Sri h Kolusu
6,EXITC,C) OUTFIL INCLUDE=(SMF15SCN,EQ,C' ') /* Thanks, Kolusu -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Friday, July 21, 2023 9:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: Need DFSORT control statements to extract

Re: Need DFSORT control statements to extract data from smf15 with storclas blank

2023-07-21 Thread Sri h Kolusu
>> I am not a DFSort expert but we have a requirement to extract datasets which >> has storclas (SMF15SCN) = blank. Shivang Sharma, SMF15SCN is a part of Extended Information Segment which does NOT have a standard offset. You need to dynamically calculate the offset based on the formula 244