Sv: COBOL compiler option to list libraries from which COPY members were loaded?

2021-09-09 Thread Lars Höglund
And You can't use coprocess if You are using EXCI. //Lasse -Ursprungligt meddelande- Från: IBM Mainframe Discussion List För Farley, Peter x23353 Skickat: den 9 september 2021 21:08 Till: IBM-MAIN@LISTSERV.UA.EDU Ämne: Re: COBOL compiler option to list libraries from which COPY members

Re: IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory

2021-09-09 Thread Denis
Hi Larry, did you read and follow the sequence documented here:https://www.ibm.com/docs/en/ims/14.1.0?topic=cci-sample-application-code??? 1. Create mcf = new IMSManagedConnectionFactory2. Use the setter methods3. IMSConnectionFactory icf = (IMSConnectionFactory)mcf.createConnectionFactory(); (i

Re: ispf edit macro "HX" line command

2021-09-09 Thread Hank Oerlemans
/* Rexx */ Address isredit "macro" "label 4 = .HX" "FLIP .HX" flips line 4. Hank -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.ed

Re: IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory

2021-09-09 Thread Larry Zhang
yes, I already went there, if you read it, this article helps me nothing; - IBM IMS - 14.1.0 FeedbackProduct list ICO0054E javax.resource.ResourceException: ICO0054E:methodname error. Invalid ConnectionSpec. Explanation The IMS TM resource adapter was unable to cast the provided connecti

Re: IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory

2021-09-09 Thread Sri h Kolusu
> ICO0054E: com.ibm.connector2.ims.ico.IMSConnectionFactory@2a5c2062.getConnection(ConnectionSpec) > error. Invalid ConnectionSpec. Larry zhang, Did you try to resolve the above error? https://www.ibm.com/docs/en/ims/14.1.0?topic=exceptions-ico0054e Thanks, Kolusu

Re: IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory

2021-09-09 Thread Larry Zhang
Urgent Help: This is from Ford, Here is the code sniplet:        System.out.println("jndi:"+getJndiName()+"user name:"+getUserName()+"password:"+getPassword()); // this system out prints correct JNDI and user name and password        IMSConnectionSpec conSpec = new IMSConnectionSpec();     

IMS Resource Adaptor to ( IMS connect) Error -for ManagedConnectionFactory

2021-09-09 Thread Larry Zhang
Urgent Help: This is from Ford, Here is the code sniplet:        System.out.println("jndi:"+getJndiName()+"user name:"+getUserName()+"password:"+getPassword()); // this system out prints correct JNDI and user name and password        IMSConnectionSpec conSpec = new IMSConnectionSpec();       

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
I, D, C, CC, RR and DD are not ISREDIT commands or assignment statements. The issue is whether there is a way to issue line commands from an EDIT macro, not whether you can issuethem from a keyboard. There is an ISREDIT INSERT command that has the same effect as an I line command, but they are

Re: ispf edit macro "HX" line command

2021-09-09 Thread Joe Monk
Actually they are: https://www.ibm.com/docs/en/zos/2.2.0?topic=macros-performing-line-command-functions Here's the HEX command edit macro: https://www.ibm.com/docs/en/zos/2.2.0?topic=statements-hexset-query-hexadecimal-mode Joe On Thu, Sep 9, 2021 at 2:02 PM Carmen Vitullo wrote: > well, i co

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
Answering myself, IBM doc at 2.1 and I'm pretty sure 2.4 see's these commands as edit line commands https://www.ibm.com/docs/en/zos/2.1.0?topic=reference-edit-line-commands HX being one edit and edit macro line comman

Re: COBOL compiler option to list libraries from which COPY members were loaded?

2021-09-09 Thread Farley, Peter x23353
Yes, but it is of little use if you are stuck using the DB2 and/or CICS preprocessor utilities (instead of the coprocessor facilities in the compiler) and use EXEC SQL and/or EXEC CICS statements in COPY members extensively. All COPY members containing EXEC SQL / CICS must be pre-resolved befo

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
well, i conciser them line commands since I position my cursor on a line and use  'I', 'D', 'C' 'CC' 'RR' 'DD'.etc Carmen On 9/9/2021 1:57 PM, Seymour J Metz wrote: ISREDIT commands and assignment statements like DELETE, INSERT, LABEL, LINE_AFTER, LINE_BEFORE and SHIFT foo are not line co

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
ISREDIT commands and assignment statements like DELETE, INSERT, LABEL, LINE_AFTER, LINE_BEFORE and SHIFT foo are not line commands. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
Would you mind posting the code? Thanks. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Carmen Vitullo [cvitu...@hughes.net] Sent: Thursday, September 9, 2021 2:13 PM T

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
my explanation was lost in the post, but before CUT and PASTE were available in ISPF I picked up that rexx from some MVS toolkit, it has some examples of using edit line commands in an edit macro, from that example I have used the line command in other macros when needed. Carmen On 9/9/2021

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
/* REXX ***/ /*** */ /*** ISPF/PDF edit macro to write lines from a file to the user */ /*** PROFILE pool for later inclusion by the PASTE macro. */ /***

Re: COBOL compiler option to list libraries from which COPY members were loaded?

2021-09-09 Thread Tom Ross
><*Doh!*> > >I missed seeing that part of the listings entirely. And it has the same pa= >ge title back at least as far back as ECOBOL V4.1.0. You guys are great! I added "cross reference of library names" to the COBOL compiler listings years ago, glad it is getting used, and thank you for point

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
I'll have to believe you didn't find it, but I've used edit line commands in macros, like insert, repeat,copy, delete, and assign a label to a line, range(s) if I made an assumption HX is valid then that was a bad assumption Carmen On 9/9/2021 12:49 PM, Seymour J Metz wrote: I checked Edit

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
I checked Edit assignment statements" and "Chapter 11. Edit macro commands and assignment statements" in z/OS 2.4 ISPF Edit and Edit Macros, SC19-3621-40, and couldn't find any way for an edit macro to issue a line command. What did you do with the variable CMD to treat its value as a line comm

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Paul Gilmartin
On Thu, 9 Sep 2021 10:51:48 -0500, Mike Schwab wrote: >Can't use nested procs. Can nest includes but that is mid 1990s MVS. > Nested proc calls ("EXEC PTOC=") to a small depth have existed for many releases now, but the syntax for overrides and refer backs does not exist. >On Thu, Sep 9, 2021 a

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Mike Schwab
Can't use nested procs. Can nest includes but that is mid 1990s MVS. On Thu, Sep 9, 2021 at 4:44 AM Peter Vels wrote: > > I wonder if this limitation is your issue... > > https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references > > "The following statements cannot be referenced

Re: OMVS Sort Question

2021-09-09 Thread Mike Schwab
Multi step sort least significant to most significant. Card sorters did 1 column at a time. But the single step with correct options is better. On Thu, Sep 9, 2021 at 7:24 AM Lionel B. Dyck wrote: > > I tried sorting by field 1 ascending and then a second sort with field 2 > descending (-r) and

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
IIRC yes, then followed by an ISREDIT command to issue the line command, but again without testing and having the time to test I'm not 100% sure I made an assumption the OP had an alternate solution. Carmen On 9/9/2021 10:12 AM, Seymour J Metz wrote: ISREDIT (CMD) = 'HX' should work -I've n

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
> ISREDIT (CMD) = 'HX' should work -I've not tested Doesn't that just set the variable CMD to the VALUE HX? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Carmen Vitu

Re: OMVS Sort Question

2021-09-09 Thread Lionel B. Dyck
Thank you - that wasn't clear in the man page. Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -Orig

Re: OMVS Sort Question

2021-09-09 Thread Sri h Kolusu
> What I would like to do is to sort the 2nd field in reverse and then sort > the 1st field in ascending - this does not seem possible. Lionel, You need to use the option "r" to perform the descending sort on the 2nd field. –r Reverses the order of all comparisons so that sort writes output f

Re: OMVS Sort Question

2021-09-09 Thread Lionel B. Dyck
That is brilliant - thank you This is what I used: call bpxwunix 'sort -k2r -k1 ',in.,out.,msg. Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what oth

Re: OMVS Sort Question

2021-09-09 Thread Patrick Hayward
Can you not use -k2,2r Zlinux From the man page KEYDEF is F[.C][OPTS][,F[.C][OPTS]] for start and stop position, where F is a field number and C a character position in the field; both are origin 1, and the stop position defaults to the line's end. If neither -t nor -b is in effect, c

Re: DFSORT and "IF exist"

2021-09-09 Thread Sri h Kolusu
> Observation: JOIN steps need significantly more memory than regular > SORT. 48M was not enough. I changed it to 128M. Radoslaw, I suggest you change the region to 0M. We document that under Joinkeys application notes. Since a JOINKEYS application uses three tasks, it can require more storage

Re: OMVS Sort Question

2021-09-09 Thread Lionel B. Dyck
I tried sorting by field 1 ascending and then a second sort with field 2 descending (-r) and field1 was no longer in the correct order ☹ But that's what I thought should work as well. Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about yo

Re: OMVS Sort Question

2021-09-09 Thread Martin Packer
Pipe it through two sort commands? And does sort helpfully avoid rearranging records with the same key value? Cheers, Martin Martin Packer WW z/OS Performance, Capacity and Architecture, IBM Technology Sales +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter / Facebook IDs: MartinPacke

OMVS Sort Question

2021-09-09 Thread Lionel B. Dyck
I know how to use sort - to a limited degree. This will wort a stem using the 2nd field and sort in reverse: call bpxwunix 'sort -r -k 2',in.,out.,msg. What I would like to do is to sort the 2nd field in reverse and then sort the 1st field in ascending - this does not seem possible. Any tips/po

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Paul Gilmartin
On Thu, 9 Sep 2021 19:43:43 +1000, Peter Vels wrote: >I wonder if this limitation is your issue... >https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references >"The following statements cannot be referenced: >... > - Nested procedure statements" > Alas, MVS's implementation of dy

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Colin Paice
Thank you ... that would explain it! On Thu, 9 Sept 2021 at 10:44, Peter Vels wrote: > I wonder if this limitation is your issue... > > https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references > > "The following statements cannot be referenced: > ... > >- Nested procedure

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread David Spiegel
Hi Colin, Here is a working example: //STEP001 EXEC ASMACL //C.SYSIN  DD  * TEST CSECT END //GO  EXEC PGM=IEFBR14 //STEPLIB  DD  DISP=SHR,DSN=*.STEP001.L.SYSLMOD Here is SYS1.PROCLB(ASMACL) //ASMACL   PROC //C    EXEC PGM=ASMA90 //* //SYSLIB   DD DSN=SYS1.MACLIB,DISP=SHR

Re: Can I use DSN referback using nested procs?

2021-09-09 Thread Peter Vels
I wonder if this limitation is your issue... https://www.ibm.com/docs/en/zos/2.4.0?topic=parameters-backward-references "The following statements cannot be referenced: ... - Nested procedure statements" On Thu, 9 Sept 2021 at 18:56, Colin Paice wrote: > I have a JCL procedure CCPROC which

Can I use DSN referback using nested procs?

2021-09-09 Thread Colin Paice
I have a JCL procedure CCPROC which invokes PROC=EDCCB. PROC=EDCCB has two steps compile and bind. Bind puts the output in SYSLMOD. I would now like to refer the the SYSLMOD data set elsewhere, for example //LIST EXEC PROC=CCPROC //EXEC PGM=MYPROG //STEPLIB DD DSN=*.??.SYSLMOD The doc says **.ste

Re: DFSORT and "IF exist"

2021-09-09 Thread Radoslaw Skorupka
Sri, I used some various types of JOIN UNPAIRED - thank you! I did the job. Observation: JOIN steps need significantly more memory than regular SORT. 48M was not enough. I changed it to 128M. Now it's time for learning - while I can use some statements I do not necessarily know what can I put