Re: IGGCSI00 and REXX

2020-03-27 Thread ITschak Mugzach
Kirk, the sample exec is equal to the class you are using. What you supplied is the calling program code snip. With a small change to the exec, (PARSE UPPER ARG KEY replaces the Say & Pull statements) you can class it as a function. exactly like you do with Java, and it is much shorter from

Re: IGGCSI00 and REXX

2020-03-27 Thread Kirk Wolf
Dale, Respectfully I disagree - CSI is not equally complicated to setup and process in all languages. Here's the IBM shipped z/OS java sample that sets up a call: https://github.com/zsystems/java-samples/blob/master/CatalogSearchSample.java ... CatalogSearch catSearch = new

Re: IGGCSI00 and REXX

2020-03-26 Thread Andrew Rowley
On 18/03/2020 9:49 am, Billy Ashton wrote: Now, I have not done anything with batch Java here; do you have a more complete example of how to use it? Billy I have created some more complete Java samples and uploaded them to GitHub. There are 3 samples: - A simple catalog list by dataset

Re: IGGCSI00 and REXX

2020-03-23 Thread Dana Mitchell
For completeness' sake, REXX also comes with IBMi, but what a horrible implementation it is. And the only two IBM manuals are from 1997! Dana On Fri, 20 Mar 2020 18:33:32 -0500, Dale R. Smith wrote: > REXX comes with z/OS (and z/VM and I believe z/VSE, don't know about TPF), > Lua does

Re: IGGCSI00 and REXX

2020-03-20 Thread Dale R. Smith
On Fri, 20 Mar 2020 13:45:05 +0800, David Crayford wrote: >I'm not knocking your code which looks very good, but yet again it's a >good example of why REXX is a poor language for processing binary data. > >I don't use REXX much these days. On z/OS I use either Lua [1] or Python >[2], mainly Lua

Re: IGGCSI00 and REXX

2020-03-20 Thread David Crayford
ject:[EXTERNAL] Re: IGGCSI00 and REXX Sent by:IBM Mainframe Discussion List Oh no! Run for the hills :) Good luck with that! I wouldn't fancy processing an SMF 110 CMF record (with a dictionary) in REXX! I've done it in Java and that was onerous. On 2020-03-20 3:16 PM, Martin Packer wrote

Re: IGGCSI00 and REXX

2020-03-20 Thread Martin Packer
3?mt=2 Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA From: David Crayford To: IBM-MAIN@LISTSERV.UA.EDU Date: 20/03/2020 09:21 Subject:[EXTERNAL] Re: IGGCSI00 and REXX Sent by:IBM Mainframe Discussion List Oh no! Run for the hills :)

Re: IGGCSI00 and REXX

2020-03-20 Thread David Crayford
Oh no! Run for the hills :) Good luck with that! I wouldn't fancy processing an SMF 110 CMF record (with a dictionary) in REXX! I've done it in Java and that was onerous. On 2020-03-20 3:16 PM, Martin Packer wrote: I might be about to open that can of worms permanently (SMF and REXX) ...

Re: IGGCSI00 and REXX

2020-03-20 Thread Martin Packer
I might be about to open that can of worms permanently (SMF and REXX) ... :-) Seriously, I have a few tips and tricks on processing SMF with REXX. And I’m aiming to open source something. It’s not quite ready and it will be the START of something, not a finished journey. (The idea being others

Re: IGGCSI00 and REXX

2020-03-19 Thread David Crayford
I'm not knocking your code which looks very good, but yet again it's a good example of why REXX is a poor language for processing binary data. I don't use REXX much these days. On z/OS I use either Lua [1] or Python [2], mainly Lua as it runs in TSO/ISPF which Python doesn't. Both languages

Re: IGGCSI00 and REXX

2020-03-19 Thread Seymour J Metz
:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX On Thu, 19 Mar 2020 21:04:27 +0800, David Crayford wrote: >I think that sample is a perfect example why you shouldn't use REXX for >processing complex records! > >All the magic number offsets and data conversions w

Re: IGGCSI00 and REXX

2020-03-19 Thread Dale R. Smith
On Thu, 19 Mar 2020 21:04:27 +0800, David Crayford wrote: >I think that sample is a perfect example why you shouldn't use REXX for >processing complex records! > >All the magic number offsets and data conversions will only get worse as >the complexity of the program increases. Which is why REXX

Re: IGGCSI00 and REXX

2020-03-19 Thread David Crayford
I think that sample is a perfect example why you shouldn't use REXX for processing complex records! All the magic number offsets and data conversions will only get worse as the complexity of the program increases. On 2020-03-18 1:04 PM, Brian Westerman wrote: How about the rexx exec

Re: IGGCSI00 and REXX

2020-03-18 Thread scott Ford
Brian , Thats another good example as well as what Al said. I havent used java much on z/OS ...so i cant comment on it. Scott On Wed, Mar 18, 2020 at 1:05 AM Brian Westerman < brian_wester...@syzygyinc.com> wrote: > How about the rexx exec IGGCSIRX in SYS1.SAMPLIB? > > There is also a share

Re: IGGCSI00 and REXX

2020-03-17 Thread Brian Westerman
How about the rexx exec IGGCSIRX in SYS1.SAMPLIB? There is also a share handout from 2014 that you can probably find on the internet. RESUME = 'Y' Do While RESUME = 'Y' /* Call the Catalog Search Interface */ ADDRESS LINKPGM 'IGGCSI00 RETAREA CSIFIELD WORKAREA' ... RESUME =

Re: IGGCSI00 and REXX

2020-03-17 Thread David Crayford
owley" To: IBM-MAIN@listserv.ua.edu Sent: 3/17/2020 6:18:08 PM Subject: Re: IGGCSI00 and REXX Does it have to be Rexx? There is a Java interface to the CSI that is certainly easier than assembler, and I would say is easier than Rexx. https://www.ibm.com/support/knowledgecenter/SS

Re: IGGCSI00 and REXX

2020-03-17 Thread Billy Ashton
Now, I have not done anything with batch Java here; do you have a more complete example of how to use it? Billy -- Original Message -- From: "Andrew Rowley" To: IBM-MAIN@listserv.ua.edu Sent: 3/17/2020 6:18:08 PM Subject: Re: IGGCSI00 and REXX Does it have

Re: IGGCSI00 and REXX

2020-03-17 Thread Andrew Rowley
Does it have to be Rexx? There is a Java interface to the CSI that is certainly easier than assembler, and I would say is easier than Rexx. https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.zsecurity.api.80.doc/com.ibm.jzos/com/ibm/jzos/CatalogSearch.html On 18/03/2020

Re: IGGCSI00 and REXX

2020-03-17 Thread Steve Smith
IGGCSI00 can return much more than that, assuming that's the program you mean. The examples and samples mostly need to be enhanced to take advantage. sas On Tue, Mar 17, 2020 at 3:56 PM ITschak Mugzach wrote: > Afaik the program only returns catalog, dsname and volser.

Re: IGGCSI00 and REXX

2020-03-17 Thread ITschak Mugzach
; ‘Dance like no one is watching. Encrypt like everyone is.’ > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of ITschak Mugzach > Sent: 17 March 2020 18:49 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [IBM-MAIN] IGGCSI00 and REXX > > Lenni, &g

Re: IGGCSI00 and REXX

2020-03-17 Thread Lennie Dymoke-Bradshaw
- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: 17 March 2020 18:49 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] IGGCSI00 and REXX Lenni, What exactly you need? we have a modified copy of the rexx used in our product (IronSphere) that act like a rexx function

Re: IGGCSI00 and REXX

2020-03-17 Thread ITschak Mugzach
lf > Of scott Ford > Sent: 17 March 2020 15:03 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [IBM-MAIN] IGGCSI00 and REXX > > Gil, > > If memory serves me correctly Ken ( I dont remember his last name , the > rexx wiz from SHARE ) has a real nice piece of Rexx code for IGGCSI00,

Re: IGGCSI00 and REXX

2020-03-17 Thread Lionel B Dyck
ginal Message- From: IBM Mainframe Discussion List On Behalf Of scott Ford Sent: Tuesday, March 17, 2020 11:56 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX Lennie, It’s Ken Tomiak .. I just found it my friend. Scott On Tue, Mar 17, 2020 at 12:54 PM Richa

Re: IGGCSI00 and REXX

2020-03-17 Thread Al Ferguson
March 2020 15:03 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [IBM-MAIN] IGGCSI00 and REXX > > Gil, > > If memory serves me correctly Ken ( I dont remember his last name , the rexx > wiz from SHARE ) has a real nice piece of Rexx code for IGGCSI00, just a idea > for you sir

Re: IGGCSI00 and REXX

2020-03-17 Thread scott Ford
t; -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Lennie Dymoke-Bradshaw > Sent: Tuesday, March 17, 2020 12:49 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: IGGCSI00 and REXX > > Scott, > Thanks, > > As I live in the UK I don't get to Share.

Re: IGGCSI00 and REXX

2020-03-17 Thread Richards, Robert B.
Also check out Mark Zelden's CATSRCH rexx exec http://mzelden.com/mvsutil.html -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lennie Dymoke-Bradshaw Sent: Tuesday, March 17, 2020 12:49 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX Scott, Thanks

Re: IGGCSI00 and REXX

2020-03-17 Thread Lennie Dymoke-Bradshaw
is.’ -Original Message- From: IBM Mainframe Discussion List On Behalf Of scott Ford Sent: 17 March 2020 15:03 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [IBM-MAIN] IGGCSI00 and REXX Gil, If memory serves me correctly Ken ( I dont remember his last name , the rexx wiz from SHARE ) has

Re: IGGCSI00 and REXX

2020-03-17 Thread Paul Gilmartin
On Tue, 17 Mar 2020 15:07:57 +, Seymour J Metz wrote: >[LINKPGM] It's more like LINK than like CALL. > I agree. >If you want a jobstep parameter, why not use address LINKMVS, which builds the >HW length field automatically? > The ICSF interface the example uses does not use a HW length,

Re: IGGCSI00 and REXX

2020-03-17 Thread Seymour J Metz
of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, March 17, 2020 10:58 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX On Tue, 17 Mar 2020 13:17:13 +, Lennie Dymoke-Bradshaw wrote: >I have a need to make use of IGGCSI00. >It would

Re: IGGCSI00 and REXX

2020-03-17 Thread scott Ford
Gil, If memory serves me correctly Ken ( I dont remember his last name , the rexx wiz from SHARE ) has a real nice piece of Rexx code for IGGCSI00, just a idea for you sir. Scott On Tue, Mar 17, 2020 at 10:59 AM scott Ford wrote: > Steve, > > I have written in rexx,oorexx,assembler,c

Re: IGGCSI00 and REXX

2020-03-17 Thread scott Ford
day, March 17, 2020 9:00 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: IGGCSI00 and REXX > > All languages have glitches, especially C. Certainly there are things that > could be cleaned up in REXX, but there are other things that are eleant if > not

Re: IGGCSI00 and REXX

2020-03-17 Thread Paul Gilmartin
On Tue, 17 Mar 2020 13:17:13 +, Lennie Dymoke-Bradshaw wrote: >I have a need to make use of IGGCSI00. >It would make my life a lot easier if I could work in REXX rather than >assembler. I see that IBM have supplied a sample routine called IGGCSIRX >showing how it can be used from REXX,

Re: IGGCSI00 and REXX

2020-03-17 Thread Lionel B Dyck
n merely what others think you are." - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Tuesday, March 17, 2020 9:00 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX All languages have glitches, especially

Re: IGGCSI00 and REXX

2020-03-17 Thread Seymour J Metz
List on behalf of Steve Smith Sent: Tuesday, March 17, 2020 9:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IGGCSI00 and REXX REXX is inherently kludgy (who needs structures? SUBSTR can do anything!). That's not a big REXX exec. Just de-kludge to your taste, if possible. IGGCSI00 is tricky

Re: IGGCSI00 and REXX

2020-03-17 Thread John McKown
On Tue, Mar 17, 2020 at 8:53 AM Steve Smith wrote: > REXX is inherently kludgy (who needs structures? SUBSTR can do > anything!). > > That's not a big REXX exec. Just de-kludge to your taste, if possible. > IGGCSI00 is tricky to get started with, so you definitely want to start > with a

Re: IGGCSI00 and REXX

2020-03-17 Thread Steve Smith
REXX is inherently kludgy (who needs structures? SUBSTR can do anything!). That's not a big REXX exec. Just de-kludge to your taste, if possible. IGGCSI00 is tricky to get started with, so you definitely want to start with a working example. There are also a couple of assembler samples

IGGCSI00 and REXX

2020-03-17 Thread Lennie Dymoke-Bradshaw
I have a need to make use of IGGCSI00. It would make my life a lot easier if I could work in REXX rather than assembler. I see that IBM have supplied a sample routine called IGGCSIRX showing how it can be used from REXX, though it looks a little cludgy; not as elegant as the RACF interface to