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 caller

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 CatalogSearch(filterKe

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 patter

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 n

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 a

Re: IGGCSI00 and REXX

2020-03-20 Thread David Crayford
09:21 Subject: [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,

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 cou

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 ha

Re: IGGCSI00 and REXX

2020-03-19 Thread Seymour J Metz
19, 2020 8: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 dat

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 IGGCSIRX

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 han

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 = SUBSTR(CSIFIELD,150,1

Re: IGGCSI00 and REXX

2020-03-17 Thread David Crayford
" 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 to be Rexx?

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

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
PIPEs available the PIPE LISTCAT is an excellent tool > > >> to use if you only want the dataset name, and optionally the > > >> dataset type. > > >> > > >> > > >> Lionel B. Dyck < > > >> Website: http://www.lbdsoftware.com > >

Re: IGGCSI00 and REXX

2020-03-17 Thread Lennie Dymoke-Bradshaw
t you are, reputation 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 > >&g

Re: IGGCSI00 and REXX

2020-03-17 Thread ITschak Mugzach
gt;> > >> "Worry more about your character than your reputation. Character is > >> what you are, reputation merely what others think you are." - John > >> Wooden > >> > >> -Original Message- > >> From: IBM Mainframe Discus

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
;Worry more about your character than your reputation. Character is >>> what you are, reputation merely what others think you are." - John >>> Wooden >>> >>> -Original Message- >>> From: IBM Mainframe Discussion List On >>

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

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

Re: IGGCSI00 and REXX

2020-03-17 Thread Lennie Dymoke-Bradshaw
tation. Character is >> what you are, reputation 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 >>

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

Re: IGGCSI00 and REXX

2020-03-17 Thread Seymour J Metz
lf 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 wou

Re: IGGCSI00 and REXX

2020-03-17 Thread scott Ford
hat >> could be cleaned up in REXX, but there are other things that are eleant if >> not misused. >> >> >> -- >> Shmuel (Seymour J.) Metz >> http://mason.gmu.edu/~smetz3 >> >> >> >> From: IBM Mainframe Discussion List on behalf >> of

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

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 C. Certai

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 t

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 working

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 provided