Re: Compute the maximum return code of all steps (so far)

2018-11-29 Thread Seymour J Metz
Sent: Thursday, November 29, 2018 11:51 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Compute the maximum return code of all steps (so far) A brief ode to comments. I'm also wary of bureaucratic dicta requiring comments on every line, but I will always tilt in favor of more comments rather than fewer

Re: Compute the maximum return code of all steps (so far)

2018-11-29 Thread Jesse 1 Robinson
27, 2018 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Compute the maximum return code of all steps (so far) I certainly don't advocate a bureaucratic rule like "put a comment on every line", but that code really needs more comments. Variable names like P1, P2, P3

Re: Compute the maximum return code of all steps (so far)

2018-11-27 Thread Seymour J Metz
Mainframe Discussion List on behalf of Robert Prins Sent: Tuesday, November 27, 2018 6:55 AM To: IBM-MAIN@listserv.ua.edu Subject: Re: Compute the maximum return code of all steps (so far) Another one, in your favourite language, originally written by Simon Brown of Willis sometime in 1992:

Re: Compute the maximum return code of all steps (so far)

2018-11-27 Thread Charles Mills
@LISTSERV.UA.EDU] On Behalf Of Bernd Oppolzer Sent: Monday, November 26, 2018 6:58 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Compute the maximum return code of all steps (so far) Sorry, this did not come to my mind, because the code appeared in a public forum ... this is the link where I found it: https

Re: Compute the maximum return code of all steps (so far)

2018-11-27 Thread Robert Prins
Another one, in your favourite language, originally written by Simon Brown of Willis sometime in 1992: *process macro langlvl(os,sprog) test(all,sym); *process rules(laxif); -steps: proc(param) options(main) reorder; -dcl param char(100) var; -

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Seymour J Metz
of Bernd Oppolzer Sent: Monday, November 26, 2018 6:57 PM To: IBM-MAIN@listserv.ua.edu Subject: Re: Compute the maximum return code of all steps (so far) Sorry, this did not come to my mind, because the code appeared in a public forum ... this is the link where I found it: https://secure

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Bernd Oppolzer
Sorry, this did not come to my mind, because the code appeared in a public forum ... this is the link where I found it: https://www.developpez.net/forums/d1477375/systemes/autres-systemes/z-os/jcl-sort/recuperation-code-retour-d-job-rexx/ If I find a snippet of code THAT OPEN on the internet,

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Arthur
On 26 Nov 2018 13:03:55 -0800, in bit.listserv.ibm-main (Message-ID:) bernd.oppol...@t-online.de (Bernd Oppolzer) wrote: using this as keyword and a well known search engine, I found a REXX (from a french site), which I will try tomorrow. This could be of interest to others, so here is the

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Seymour J Metz
erv.ua.edu Subject: Re: Compute the maximum return code of all steps (so far) You can use Spool Dataset Browse to dynamically allocate the EVENTLOG STEPDATA dataset which has this information (and it is IBM blessed): https://secure-web

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Bernd Oppolzer
on behalf of Bernd Oppolzer Sent: Monday, November 26, 2018 3:29 PM To: IBM-MAIN@listserv.ua.edu Subject: Compute the maximum return code of all steps (so far) Hello list, I have the need to compute (in a C, PL/1 or ASSEMBLER module) the maximum return code of all prior steps of the running j

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Kirk Wolf
t; of Bernd Oppolzer > Sent: Monday, November 26, 2018 3:29 PM > To: IBM-MAIN@listserv.ua.edu > Subject: Compute the maximum return code of all steps (so far) > > Hello list, > > I have the need to compute (in a C, PL/1 or ASSEMBLER module) > the maximum return code of all

Re: Compute the maximum return code of all steps (so far)

2018-11-26 Thread Seymour J Metz
From: IBM Mainframe Discussion List on behalf of Bernd Oppolzer Sent: Monday, November 26, 2018 3:29 PM To: IBM-MAIN@listserv.ua.edu Subject: Compute the maximum return code of all steps (so far) Hello list, I have the need to compute (in a C, PL/1 or ASSEMBLER module

Compute the maximum return code of all steps (so far)

2018-11-26 Thread Bernd Oppolzer
Hello list, I have the need to compute (in a C, PL/1 or ASSEMBLER module) the maximum return code of all prior steps of the running job so far. This is intended to be the last step of the job and to write the MAXRC into a DB2 table, which shows the requester the outcome of this special job (in