Re: DFSORT JOINKEYS problem

2024-02-15 Thread Sri h Kolusu
>> I am really interested in your job that generates the DFSORT symbols for all >> IRRADU00 & IRRDBU00 record types Regards Jack Jack, I have sent an offline email with the PDS that contains the JCL in XMIT format to your personal id (gmail). Thanks, Kolusu

Re: DFSORT JOINKEYS problem

2024-02-15 Thread Sri h Kolusu
Jack, Since I don't have the joblog, I cannot verify that the input files are VB or FB as your symbols xtyp and xusr are looking at positions 1 and 6 which would be incorrect for VB files. Either way here is a modified/optimized version which would give you the desired results (You don't

Re: ISPF edit - clone a column

2024-02-02 Thread Sri h Kolusu
>> Sometimes I need clone text column. Radoslaw, You can try the approach listed here . https://www.ibm.com/docs/en/zos/3.1.0?topic=commands-o-okoverlay-lines The only caveat is you just need to REPEAT the data and use )) to Push the data to your desired column and then use OVERLAY for

Re: Generating output in SORT with a time value

2024-01-31 Thread Sri h Kolusu
>> Hi there Kolusu, I messed up my format, and should have had colons instead >> of commas. Billy, Apart from usage of Colons, did you realize that you have OVERLAPPING data? At position 82 you wanted to write 82:C'This is my data field 3', and then at position 102 you wanted to write this

Re: Generating output in SORT with a time value

2024-01-31 Thread Sri h Kolusu
>> We have this so far: OUTFIL REPEAT=1500 BUILD=(1,C'TLX1', 5,SEQNUM,12,ZD,START=12345600,INCR=1, 17,SEQNUM,5,ZD,START=10001,INCR=3 22,C'This is my data field 1', 52,C'This is my data field 2' , 82,C'This is my data field 3', 102,C'AZ',

Re: xl/C data types?

2024-01-24 Thread Sri h Kolusu
>> For example, does z⧸OS XL C⧸C++ support packed decimal? Others? Gil, Fixed-point (Packed) Decimal Data z/OS XL C supports fixed-point (packed) decimal as a native data type for use in business applications. The packed data type is similar to the COBOL data type COMP-3 or the PL/I

Re: How to configure using PDS members in JCL.

2024-01-08 Thread Sri h Kolusu
>> Sri h Kolusu suggest the INCLUDE; I assume that he tested it. IMHO file >> tailoring is a more versatile solution. Shmuel, Slight Correction. It is NOT me who suggested the INCLUDE solution. It is by Charles hardee https://www.mail-archive.com/ibm-main@listserv.ua.edu/ms

Re: How to configure using PDS members in JCL.

2024-01-08 Thread Sri h Kolusu
>> I have a PDS with configuration definitions in it and want to make it easy >> to configure. Colin, You could use DFSORT to do the substitution and generate the control cards which can be passed to the next steps that really execute the commands. For example // SET ID=COLIN //* //STEP0100

Re: allowed characters in member name

2024-01-05 Thread Sri h Kolusu
>> What characters are allowed in JCL when specifying member name? Radoslaw, In general, PDS member naming rules are ( assuming code page 037) • A member name cannot be longer than eight characters. • The first member character must be either a letter or one of the following three

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Sri h Kolusu
>> Does CLIST or REXX provide an interface to ENQ? Gil, Via ISPF service named QUERYENQ https://www.ibm.com/docs/en/zos/2.5.0?topic=services-queryenqquery-system-enq-data Examples : https://www.mainframesupport.dk/tips/tip1903.html http://www.naspa.net/magazine/2005/0305/T0503011.pdf

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Sri h Kolusu
>>> I need to check whether any of a list of datasets exists and whether any of >>> a list of ddnames is allocated. Shmuel, How about issuing ENQ in loop for all the datasets in the list? Once you hit a dataset that is already allocated you can quit the search. Thanks, Kolusu

Re: Stupid JCL question

2023-12-22 Thread Sri h Kolusu
Bob, If you did not want to touch the original job, then you can use IEBEDIT which lets you edit the job stream. Check out the examples. https://www.ibm.com/docs/en/zos/2.5.0?topic=utilities-iebedit-edit-job-stream-program Thanks, Kolusu

Re: Stupid JCL question

2023-12-22 Thread Sri h Kolusu
>> I should know this - I've been using JCL for decades - but I find I'm >> uncertain about something I haven't done in a while. I have a production >> job here that will eventually be rewritten, but for now I'm just going to >> tell it to execute only the first couple steps. I had in mind

Re: CSNBENC in LPA?

2023-12-20 Thread Sri h Kolusu
>> Q: is it really required to put the library into LPA? I searched ICSF >> documentation and found no reference. Radoslaw, It is documented in RACF Security Administrator's Guide. https://www.ibm.com/docs/en/zos/2.5.0?topic=keys-storing-passticket-encrypted-in-icsf When using the secured

Re: What is the PDS command?

2023-12-15 Thread Sri h Kolusu
>> But what's the PDS command? I've a strong suspicion that I wrote this at a >> client that had a popular CBTTAPE utility, and if so it's not appropriate >> for my current location. Can someone confirm? ISPF has SRCHFOR which can be issued from DSLIST (3.4)

Re: What is RSED and do I need it on the Mainframe

2023-12-14 Thread Sri h Kolusu
>> What is the STC RSED? Is it something I need or can I shut it down and >> remove the software? Lizette, It is a started task for IDZ (IBM Developer for Z) which will be used to connect to HOST systems from IDZ. https://www.ibm.com/docs/en/developer-for-zos/9.1.1?topic=f-rse-daemon

Re: Can this be done?

2023-12-14 Thread Sri h Kolusu
Billy, Just out of curiosity what is the main intent of the request ? Get the raw data and then do what? Edit/ Print ? Also, when you get a pds , do you process ALL the members ? or any specific member? How do you distinguish it? Thanks, Kolusu

Re: Combine Multiple SORTs into One Step

2023-11-30 Thread Sri h Kolusu
>> In SORTs 2-5 I change SYSA to SYSC, SYSA to SYSD, SYSA to SYSE and SYSA to >> SYSF respectively. David, It is quite simple to combine multiple steps into a single step. You don't even need FINDREP on both INREC and OUTREC. Just one FINDREP is enough. Here is a sample job that will

Re: SORT Help with JFY and SQZ

2023-11-09 Thread Sri h Kolusu
>> I tried this in REXX, more familiar for me than DFSORT. Wayne, Thanks for the REXX code, however, please note that there is additional processing. OP wants to generate 2 different command files and make a copy of the input along with setting a return code if the input file is empty, so

Re: SORT Help with JFY and SQZ

2023-11-09 Thread Sri h Kolusu
>> If the input file has no records to process, I would like to set a return >> code so I can bypass further processing. Is there a way that I can tweak >> this SORT input that you gave me to know if the SORTCMD1 file is empty, and >> set a CC for the step? Don, Yes, we can set a return code

Re: SORT Help with JFY and SQZ

2023-11-08 Thread Sri h Kolusu
>> In total, I am trying to create three output files: 1. The command file with UTL COPY (which I have) 2. The command file with RPT FIELD 3. The original input file. Don, It is quite simple. Here is a sample job that will give you the desired results. I assumed that your input has an

Re: SORT Help with JFY and SQZ

2023-11-08 Thread Sri h Kolusu
>> Here is my code...can someone help me to get rid of the spaces in the name, >> before the ( value? Don, You are complicating a simple request. First build Only the fields you need, and you can add the static characters using LEAD on the SQZ operator. Also, you don't have to get a

Re: Small problem with JNFxCNTL and VTOF

2023-10-11 Thread Sri h Kolusu
>> I was trying to use JNF1CNTL and JNF2CNTL to build the input files for the >> JOINKEYS from the two initial files but due to the different formats I have >> not been able to do it Jack, DFSORT Joinkeys is quite capable of comparing a FB format file with VB format file, you really do not

Re: Testing QSAM SYNAD Exit

2023-09-28 Thread Sri h Kolusu
>> A bad LRECL on the DCB didn't have any affect - DYNALLOC, OPEN, GET all >> worked. Coding a bad BLKSIZE causes a S013 abend. Ralph, You need to use QSAM/BSAM to read at least 1 record for the abend to happen. Thanks, Kolusu

Re: Testing QSAM SYNAD Exit

2023-09-27 Thread Sri h Kolusu
>> Kolusu, are you suggesting that I create a test program (including my SYNAD >> exit) that runs in batch and reads a sysin file similar to SYSTSIN in the >> sample JCL? Yes. Thanks, Kolusu -- For IBM-MAIN subscribe /

Re: Testing QSAM SYNAD Exit

2023-09-27 Thread Sri h Kolusu
>> Can it drive the OP's SYNAD exit? I've had "successful failures" with: Gil, My example is just to show that overriding the LRECL with a different value can produce the error that OP is looking for. Similarly, he can override the LRECL on the ddname Op's program is reading. Thanks, Kolusu

Re: Testing QSAM SYNAD Exit

2023-09-27 Thread Sri h Kolusu
>> I'm trying to test the exit, but have been unable to create an IO error to >> drive it. Ralph, Here is a sample job to generate the S001-4 abend //STEP0100 EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=*,DCB=BLKSIZE=121 //SYSTSIN DD DATA,DLM=@@,LRECL=200 DSN @@ /* This will result in IEC020I

Re: VSAM GDG

2023-09-26 Thread Sri h Kolusu
≫ Are VSAM GDGs supported? I created the GDG base using the JCL below and was able to create the first generation, but when I run that job again it tries to create generation 1 again, giving me a JCL error because the GDS already exists. Frank, Check this. GENERATIONDATAGROUP Specifies

Re: Connect direct sign on issue

2023-09-21 Thread Sri h Kolusu
>> User is not defined to security system. (Racf/Topsecret) Check this. https://www.ibm.com/support/pages/racf001i-signon Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: Softcapping - how to recognize

2023-09-20 Thread Sri h Kolusu
>> I'm looking how to find out (programatically) the LPAR is being softcapped. Check this https://groups.google.com/g/bit.listserv.ibm-main/c/ZAMY8URyeTw Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access

Re: I have an Idea for ISPF...

2023-09-18 Thread Sri h Kolusu
>> For example, go to SDSF, then do DSLIST, then browse a data set from the >> list, then find something, then PF5 (RFIND). It won't work, because SDSF's >> PF5 is not RFIND; it is IFIND and there's no RFIND defined in ISFCMDS. I reported this to IBM YEARS ago but they haven't fixed it.

Re: I have an Idea for ISPF...

2023-09-18 Thread Sri h Kolusu
>> the command line that eventually leads to another FTOPEN. This is like >> saying that "why are you making left turns? You can just make a bunch of >> right turns instead". The capability exists, it should work. Michael, In your case since you are EDITING the supec generated JCL in batch, it

Re: I have an Idea for ISPF...

2023-09-18 Thread Sri h Kolusu
>> Then in that Edit session, I enter DSLIST and a pattern that leads to a >> library. From the DSLIST, I browse the library, and enter SRCHFOR something. >> That creates a second FTOPEN TEMP to build the input to the search, on top >> of the previous one, all within the same ISPF session. What

Re: I have an Idea for ISPF...

2023-09-18 Thread Sri h Kolusu
>>- Not sure how this would help. Would it change the data set name generated >>by FTOPEN TEMP? And in a way that would create a different data set in a >>stacked session? Michael, If they are pre-allocated, then you would have Individual list/work datasets for each stacked session. So, it

Re: SORT INCLUDE problem

2023-09-18 Thread Sri h Kolusu
>> Is there a way to get all the dataset profiles that have two different >> groups with the same access using SORT or ICETOOL but without using >> JOINKEYS, so that the input file would only needed to be read once, using >> SORTIN as the DDNAME? Jack, That is quite simple. There is a lot of

Re: SDB (was: I have an Idea for ISPF...)

2023-09-15 Thread Sri h Kolusu
>> What's the default DSORG? Does SDB not respect that? I've long trusted SDB. Gil, SDB is supported for DSORGs of PS and PO for DASD and tape datasets. Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive

Re: I have an Idea for ISPF...

2023-09-15 Thread Sri h Kolusu
>> Is there reason not to use BLKSIZE=0, which has been preferred for over a >> decade (but may not work with COBOL.) Gil, You can use BLKSIZE=0, but also code DSORG=PS , so that SMS calculates the Optimum Blksize based on the LRECL Thanks, Kolusu

Re: I have an Idea for ISPF...

2023-09-15 Thread Sri h Kolusu
>> The reason is because FTOPEN TEMP creates the file name using an ISPF "CNTL" >> file, which follows a certain naming format. For example: >> userid.lpar.SPFTEMPn.CNTL, where "n" is the logical session number. In a >> stacked session it is still the same session number, hence there's a naming

Re: Generate a data set with record numbers?

2023-09-15 Thread Sri h Kolusu
>> The question is, what's the simplest way to do this with a *standard* z/OS >> utility (i.e. that comes with z/OS), or with a standard sort product (e.g. >> DFSORT or SyncSort), where it is all in a self-contained job? Michael, DFSORT can generate the sequenced records quite easily. Use the

Re: SORT INCLUDE problem

2023-09-15 Thread Sri h Kolusu
>> Now, my question is, is there a way to do this with only one step and >> reading the input file only once? Jack, Here is 1 step JCL that would match the STG with CICS records the type 0404 records from the input file. Note that we can additional functionality if you need after the match

Re: SORT INCLUDE problem

2023-09-15 Thread Sri h Kolusu
>>> I am using for the INPUT a subset of a type 0404 records from a IRRDBU00 >>> output file. In the first step I am crating two files with Jack, Not clear if you still need help , but the INCLUDE COND does not have the include for type 0404 records, unless you already filtered your input.

Re: Scan a VSAM LDS?

2023-09-12 Thread Sri h Kolusu
>> I was wondering if there is a way to scan a VSAM LDS for string occurrences? >> I know that there is no way to see the individual records, but it could be >> helpful if I could at least dump the data block where the string was found. Billy, VSAM LDS clusters are NOT supported by DFSORT.

Re: CICS Question

2023-09-08 Thread Sri h Kolusu
>> DFHAP1200 A03CICGS A CICS request to the Language Environment has failed. >> Reason code '0011020'. Sherri, Is your shop using ACF2? Since you are upgrading CICS, you may need to specify the correct CICSREL parameter. Thanks, Kolusu

Re: Help on DFSORT SUM FIELDS

2023-09-07 Thread Sri h Kolusu
>> UBFLAG4 and UMFLAG4 are not recognized as valid names. As far as I can tell, >> the DCOLLECT record descriptors that I am using are the most recent ones on >> the IBM site, even if they are for z/OS 2.1. Any suggestions? Jack, Looks like you have old symbols for DCollect. I will send an

Re: Help on DFSORT SUM FIELDS

2023-09-07 Thread Sri h Kolusu
>> DFSORT is a magnificent product but I still am in an very early user stage. Jack, Thank you very much. >> You are so right about that. I was waiting for having this right before I >> would attempt that step. I have to do this in small steps. It is quite simple to add it in the existing job

Re: Help on DFSORT SUM FIELDS

2023-09-07 Thread Sri h Kolusu
>> Of course it was that. That is what happens when you copy something so it >> you will not have to write everything from scratch. Jack, Glad to hear that the issue is resolved. I wanted to bring this up yesterday itself. you may want to check if the space values you are getting are indeed

Re: Help on DFSORT SUM FIELDS

2023-09-07 Thread Sri h Kolusu
>> After tinkering a little bit more, as I was far form satisfied with the last >> result, I managed to get twenty two output records: Jack, Looking at the results, something does NOT add up. Your HLQ is 8 bytes, however you have defined the symbol for it as FMT-HLQ as 12 Bytes. May be the

Re: Help on DFSORT SUM FIELDS

2023-09-07 Thread Sri h Kolusu
>> Now, I hope that you do not mind if I ask you for one more thing. I wanted >> to have one line with the high level qualifier and all the three values but >> instead I am getting three lines for each HLQ. Jack, If you used the updated INREC then you should have gotten a summary record of 1

Re: Help on DFSORT SUM FIELDS

2023-09-06 Thread Sri h Kolusu
), OVERLAY=(TMP-UMALLSP2:UMALLSP)),* MIGRATED SPACE IFTHEN=(WHEN=NONE, OVERLAY=(TMP-UBALLSP2:UBALLSP)) * BACKUP SPACE Thanks, Kolusu DFSORT Development IBM Corporation -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent

Re: Help on DFSORT SUM FIELDS

2023-09-06 Thread Sri h Kolusu
>> I am doing something wrong because I am getting one output record for each >> input record, instead of the few hundreds I was expecting to get. Jack, If I had to take an educated guess, you are getting an overflow error. Look for ICE152I message in the sysout. I guess you earlier had a

Re: Connect Direct for z/Os Upgrade

2023-08-28 Thread Sri h Kolusu
>> We recompiled two exits DGAMGSAF and DGACXSIG and for some processes it's >> working as expected but for this example above we can see errors. Gilson, You need to have the library that contains those 2 modules to be AUTHORIZED. Also, you may want to check if any of this applies.

Re: Syncsort > DFsort migration

2023-08-28 Thread Sri h Kolusu
>> It was the thread in January 12th 2023, with subject "DFSORT maximum input >> records". The message that kicked it off was: Thanks Michael. It is good to know the other products limits. DFSORT has raised the limit with Sort accelerator to 65,536 times than the other product's limit.

Re: Syncsort > DFsort migration

2023-08-28 Thread Sri h Kolusu
>> I think it was mentioned in this list previously that EQUALS in DFSORT has a >> lower limit on maximum number of records than SYNCSORT. Michael, Can you please provide link to that topic that mentions that DFSORT has a lower limit than the other product? We do have limits and I *believe*

Re: Syncsort > DFsort migration

2023-08-28 Thread Sri h Kolusu
>> Is this the behavior generally known in IT as a "stable" sort? I find no >> mention of stable sort in the DFSORT documentation. Gil, Yes, EQUALS parm which keeps the dup keys in the order and what some call it as "stable" sort. DFSORT documentation does not have the same "stable"

Re: Fwd: Syncsort > DFsort migration

2023-08-28 Thread Sri h Kolusu
>> The only issue I ran into (this was years ago) was that if you use the PARM >> in Syncsort of “EQUAL” expect different output in DFSORT ED, EQUALS is the parm which comes into picture when your input has duplicates on the key, and you want to retain the order of the duplicates. OPTION

Re: Syncsort > DFsort migration

2023-08-26 Thread Sri h Kolusu
>>., an application sort execution, such as SAS-invoked PROC SORT under DFSORT >>does not exploit zSORT/SORTL (SAS INSTITUTE responded "not planned >>enhancement, and customers are not asking for it either.") Scott, Program invoked Sorts can exploit zSORT/SORTL if DFSORT can do the reads and

Re: Syncsort > DFsort migration

2023-08-26 Thread Sri h Kolusu
>> We are starting to do a very rushed syncsort to DFsort migration. Richard, Thank you for your interest in migrating to DFSORT. I will send you an offline mail with a couple of attachments which describes in detail about the parms and the needed changes. Thanks, Sri Hari Kolusu DFSORT

Re: Suppressing IST663I Multi-line message to the console

2023-08-21 Thread Sri h Kolusu
>> we are looking at suppressing the IST663I Multi-line message (which includes >> IST664I, IST889I, and IST314I) to the console. Is this double? https://groups.google.com/g/bit.listserv.ibm-main/c/Byj7uv0h3zY Thanks, Kolusu

Re: z/OSMF

2023-08-18 Thread Sri h Kolusu
≫ some path's that were generated either have my ID inserted with the ID being uppercase - our path names are lowercase. Did you check this? Enter values in uppercase, lowercase, or mixed case. The system converts input to uppercase, unless the values are enclosed in single quotation marks,

Re: Dfsort Overlay error

2023-08-11 Thread Sri h Kolusu
>> Here is what i am getting . Could you please let me what changes to be made ? Ron, Sigh ! Not sure as to how you invent your own syntax hope and that it would work. You switched back to using 10 bytes despite me showing that the max length is only 8 bytes? and you coded 10 bytes without a

Re: Dfsort Overlay error

2023-08-11 Thread Sri h Kolusu
>> Could you please help me figure out where the issue is ? Ron, Here are the issues assuming that you read thru documentation that I shared earlier. • The Syntax of ADDDAYS shows that it requires TOGREG or TOJUL. • Look at table 18, you would notice that max length of Y4T is 8

Re: Dfsort Overlay error

2023-08-11 Thread Sri h Kolusu
>> could someone please let me know what the issue is in the control card as it >> is giving error . Ron, Looks like you invented your syntax , which is NOT valid with DFSORT. Search for "Adding or Subtracting Days" in the below link and you will see the right syntax. Pay attention to

Re: IBM z/OS Internet Library down?

2023-08-11 Thread Sri h Kolusu
>> On V2R5 | V2R4 | V2R3 | V2R2 | V2R1 | - Download books in PDF format Click >> on V2R5 Bonnie, Try this. https://www.ibm.com/docs/en/zos/2.5.0?topic=documentation-pdf-files-zos-250-library or the direct link to zip of all PDFs

Re: ISPF in batch

2023-08-10 Thread Sri h Kolusu
>> Do any one of the group have any experience editing a file under 3.4 And >> executing an Init MACRO Steve, Check this https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ Thanks, Kolusu Regards, Steve

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Sri h Kolusu
>/* Doesn't that result in "SYSIN DD * GENERATED STATEMENT"? Gil, NO. PS: Please ignore the previous email where I was responding to the wrong quote. Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Sri h Kolusu
>Does this work for symbols that are NOT exported? Gil, NO. Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Sri h Kolusu
Kirk, Does this work for symbols that are NOT exported? For ex: // SET HLQ= // SET MLQ=SOME // SET TLQ=DSN // SET FLQ=DUMP // SET MYDSN= // SET MYVOL=SYS001 // SET DCLAS=EDCCOMPR // SET SCLAS=STANDARD // SET PRI=5000 // SET SEC=2000 // SET VU=3 // SET DV=SYSDA // SET AU=TRK //* //SYMEX EXEC

Re: PCOMM alternate screen size

2023-07-31 Thread Sri h Kolusu
>>. I'd prefer to have something more like 50x135. But my session.ws file >>doesn't contain the screensize= parameter Dana, You need to code the screensize parameter under 3270. So, edit the .WS file with any text editing software and add the following. [3270] QueryReplyMode=Auto

Re: Download IBM's Tape Tools

2023-07-27 Thread Sri h Kolusu
>> Does anybody have a recent copy of their JCL to download the Tape Tools? We >> asked the mainframe provider. Richard, Try this ( don’t forget to change the your.emailid in the INPUT dd sysin) //FTP EXEC PGM=FTP, //PARM='PUBLIC.DHE.IBM.COM (EXIT' //OUTPUT DD SYSOUT=*

Re: Inquiry about extracting and counting msgid from operlog using sort program

2023-07-27 Thread Sri h Kolusu
>> Can dfsort delete the last word if the first position is M and the last word >> is a number? Jason, Quite simple, you need to show me an example, the length of the last word and the DCB properties of the input file and I can show you how to do it. Thanks, Kolusu DFSORT Development IBM

Re: Inquiry about extracting and counting msgid from operlog using sort program

2023-07-26 Thread Sri h Kolusu
≫ INREC PARSE=(%00=(ABSPOS=64,ENDBEFR=C' ',FIXLEN=15)), Massimo, Jason wants to count the MSGID , not the message TEXT which starts at position 58, but your parse is starting with ABSPOS=64. Thanks, Kolusu -- For IBM-MAIN

Re: Inquiry about extracting and counting msgid from operlog using sort program

2023-07-26 Thread Sri h Kolusu
>> But I do not know how to count the number of occurrences of each msgid and >> eliminate duplicates. Jason, Assuming the msgid is at position 58 for a length of 7 bytes, you can use the following control cards that would give you the desired results. //SYSINDD * INCLUDE

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-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

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

2023-07-21 Thread Sri h Kolusu
5=(SMF15VBS,32756,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 e

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

Re: DFSORT - adding up on a field

2023-07-13 Thread Sri h Kolusu
Jack, If your intention is to count the number of Storage group and DASD Model, then you can init with a counter of 1 and then sum it up. Here are the updated control cards. I added a new symbol TMP-STGCNTR and initialized it with 1 using INREC and then sum that field. // DD *

Re: SORTWK space usage

2023-07-06 Thread Sri h Kolusu
>> SORT.PARMLIB(SIZEnnnG) Where nnn=001,005,020,100,200,300,400,500,...,999)? Mike, Why bother about creating different members based on the size of the file? Most of the parms that Billy is overriding are good candidates for Installation defaults. All they need to do is change 1 member and

Re: What happened to GC26-1672 Batch Local Shared Resource(LSR) Documentation?

2023-07-06 Thread Sri h Kolusu
>> Batch Local Shared Resource(LSR) Documentation Steve, Does this help? https://publibz.boulder.ibm.com/epubs/pdf/iea5j600.pdf Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: SORTWK space usage

2023-07-06 Thread Sri h Kolusu
>> and their intention is to use the common DFSPARM like I showed, but then to >> concatenate another line there with the FILSZ=E### value. This way, they >> don't need to specify everything again, and can focus on only the parameter >> they need. Billy, Unfortunately, that would NOT work.

Re: SORTWK space usage

2023-07-06 Thread Sri h Kolusu
>> One question they asked me, about our common SORT proc: Billy, Common SORT proc? Does that mean every SORT gets that override? If that is the intention, why not update the Installation defaults with those overrides? You can use PARMLIB member and update for both ICEAM1 (JCL Invocations)

Re: Built-In function unrecognized

2023-07-05 Thread Sri h Kolusu
=> CCN3690 Built-in function __popcnt4 is unrecognized. The default linkage convention is used. Eric, The issue may be due to a different z/OS release between integration and dev since the built-in was added in z/OS V2R4. The message should not occur unless the source code defines it

Re: Double ampersand?

2023-07-05 Thread Sri h Kolusu
>> Are they making a special case out of something that isn't a special case? Gil, Not really https://www.mail-archive.com/ibm-main@listserv.ua.edu/msg80064.html Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive

Re: Double ampersand?

2023-07-05 Thread Sri h Kolusu
>> Is that true? My understanding has been that a single ampersand identifies >> a temporary data set name, and the additional ampersand is used to prevent >> symbol substitution. Gil, Page 168 in the JCL reference

Re: Built-In function unrecognized

2023-07-05 Thread Sri h Kolusu
=> CCN3690 Built-in function __popcnt4 is unrecognized. The default linkage convention is used. Eric, May be the DEV environment is missing the include of builtins.h ? Thanks, Kolusu -- For IBM-MAIN subscribe /

Re: SORTWK space usage

2023-07-05 Thread Sri h Kolusu
>> Also, I assume there is no way to force a Hipersort or a Dataspace sort? In >> one of my tests this morning, I saw this: Don, If you want to force HIPERSORT, then you need to turn off other paths of code. You can do that with the following. MOSIZE=0,DSPSIZE=0,NOMOWRK,HIPRMAX=OPTIMAL

Re: SORTWK space usage

2023-07-05 Thread Sri h Kolusu
>> Yes, IEFUSI is in use. KB, Maybe it is limiting the storage based on the jobname and region parm. If you need me to take a look at the joblog, please send me the complete joblog while having //SORTDIAG DD DUMMY. Thanks, Kolusu DFSORT Development IBM Corporation

Re: SORTWK space usage

2023-07-04 Thread Sri h Kolusu
>> From the few tests I've seen, it seems that DFSORT prefers hiperspaces over >> memory objects or real memory. MEMLIMIT and REGION are decent enough, size-wise, but DFSORT doesn't seem to touch MO at all; goes directly to Hiperspace. KB, Do you have any IEFUSI exit in place? Also, what is

Re: SORTWK space usage

2023-07-03 Thread Sri h Kolusu
>> you mentioned getting better diagnostics from the SORTDIAG DD DUMMY. Are >> these diagnostics something I can interpret? Billy, Not really. The additional messages would help IBM to diagnose the problem. Thanks, Kolusu DFSORT Development IBM Corporation

Re: SORTWK space usage

2023-07-03 Thread Sri h Kolusu
>> how can I dump off the current SORT system options? Billy, Check this. https://www.mail-archive.com/ibm-main@listserv.ua.edu/msg105660.html Thanks, Kolusu DFSORT Development IBM Corporation -- For IBM-MAIN subscribe /

Re: SORTWK space usage

2023-07-03 Thread Sri h Kolusu
Discussion List On Behalf Of Sri h Kolusu Sent: Monday, July 3, 2023 1:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: SORTWK space usage >>450mill * 110 * 1.5 = 7425000 = 69GB so maybe SORTWK01 - SORTWK10 Billy, Based on your above description, you would need about 1.345 million

Re: SORTWK space usage

2023-07-03 Thread Sri h Kolusu
at long. > >Peter > >-Original Message- >From: IBM Mainframe Discussion List >mailto:IBM-MAIN@LISTSERV.UA.EDU>> On >Behalf Of Sri h Kolusu >Sent: Monday, July 3, 2023 12:28 PM >To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> >Subj

Re: SORTWK space usage

2023-07-03 Thread Sri h Kolusu
>>I will only get the primary space of 5000 cylinders, and the other 14x2000 >>cylinders is never used. Is that right? Billy, No. Incorrect. DFSORT will make use of BOTH primary and secondary space allocations ( 1 primary + 15 Secondary) for a total of 16 extents. So if you allocated 1

Re: pdf Copy of 'Enhanced Catalog Sharing and Management, SG24-5594' (1999)?

2023-06-29 Thread Sri h Kolusu
>> Does anyone have a pdf copy of the IBM TotalStorage Redbook, 'Enhanced >> Catalog Sharing and Management, SG24-5594' that they'd be willing to share? Michael, Try this link from web archives. https://web.archive.org/web/20060507084950/http://www.redbooks.ibm.com/redbooks/pdfs/sg245594.pdf

Re: Using EHLLAPI from ooRexx

2023-06-29 Thread Sri h Kolusu
>> Then it occurred to me to ask how does rxfuncadd know where to find the >> EHLLAPI DLL? Is there some environment variable that needs to be set >> pointing to the PCOMM directory where the DLL is stored? Peter, EHLLAPI is provided as an external feature and is loaded into memory only when

Re: How batch create a PDSE2 with Generations?

2023-06-26 Thread Sri h Kolusu
>> I know I can't do it in batch with IEFBR14 Charles, Why can’t you run the following in batch? //STEP0100 EXEC PGM=IEFBR14 //AF01 DD DSN=, //DISP=(NEW,CATLG,DELETE), //UNIT=SYSDA, //SPACE=(CYL,(1,1,5)), //DSNTYPE=(LIBRARY,2),MAXGENS=20, //

Re: PDS/PDSE Member information

2023-06-15 Thread Sri h Kolusu
>> Is there a way to get the PDS/PDSE member information, namely, >> member/userid/last change date in batch? I have not been able to get to it >> using rexx. Jack, Not a batch solution per se , but you can get the stats to a dataset quite easily. Open the dataset in browse/view/edit and

Re: unix commands in batch and su

2023-06-14 Thread Sri h Kolusu
≫ Sri, ITYM BPXPSATSL Alan, Not really. BPXBATSL is an alias of BPXBATCH. BPXBATSL provides users with an alternate entry point into BPXBATCH. It also forces a program to run by using a local spawn instead of fork/exec as BPXBATCH does. Check this link

Re: unix commands in batch and su

2023-06-13 Thread Sri h Kolusu
>> I'd use RECFM=VB and longer LRECL. 133? Is there a common 133 column >> printer or 327x model? Gil, Agreed on the usage of VB and longer LRECL. However, the JCL is a stripped version for ls command, and I wanted the LRECL to be FB for parsing out the contents later. Thanks, Kolusu

Re: Char to Hex

2023-06-13 Thread Sri h Kolusu
>> Actually I need to generate X'0123AB' from X'F1F2F3C1C2' Ituriel, As I mentioned DFSORT can do the reverse also //STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD * F1F2F3C1C2 //SORTOUT DD SYSOUT=* //SYSINDD * OPTION COPY INREC BUILD=(C'0',01,10,TRAN=UNHEX) /* Thanks,

  1   2   3   4   5   6   7   8   9   >