Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-18 Thread Charles Mills
half Of Paul Gilmartin Sent: Monday, April 17, 2017 9:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero On Mon, 17 Apr 2017 17:53:40 +0900, Minoru Massaki wrote: > >A customer wants to tell auto job schedu

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-17 Thread Paul Gilmartin
On Mon, 17 Apr 2017 17:53:40 +0900, Minoru Massaki wrote: > >A customer wants to tell auto job scheduling/auto operation system to take >another/additional action by Non-Zero return code if generated record is >non-rezo. >Why we want to use DFSORT instead of small REXX program is following; >If we

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-17 Thread Minoru Massaki
ords too > > > >>Pretty trivial to write Rexx to set a return code based on file > empty/Not empty. > > DFSORT already handles these scenarios. > > > Thanks, > Kolusu > DFSORT Development > > > > From: Minoru Massaki <mmass...@gmail.com> > To: IBM

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-16 Thread Dale R. Smith
On Sat, 15 Apr 2017 12:35:58 -0700, Sri h Kolusu wrote: Hmm, Sri, did we forget about the NULLOUT Parm/OPTION? :-)> > >Dale, > >NULLOUT is used to set a return code when there are NO records. OP wanted >the opposite. He wants to set a return code when he has at least 1

Re: AW: Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-16 Thread Paul Gilmartin
On Sun, 16 Apr 2017 09:14:01 +0200, Peter Hunkeler wrote: > > >While I made this up, I have a hard time to imagine it did not happen that >way. How else would can explain the weird logic behind COND= ? > Assembler mentality. It's the CC mask for a BC to branch around the next step. >But then

Re: AW: Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-16 Thread Chris Hoelscher
Sounds like a CONd job to me -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Peter Hunkeler Sent: Sunday, April 16, 2017 3:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [IBM-MAIN] AW: Re: How can I set Non-zero return code in DFSORT

AW: Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-16 Thread Peter Hunkeler
> Why not just invert the COND= for the additional processing step? > Instead of COND=(0,EQ,DFSORT), code COND=(0,NE,DFSORT)? Back in the days when the need JCL was designed, people recognized the need for conditional execution of a job step. However, it was already late in the afternoon,

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Sri h Kolusu
". Thanks, Kolusu DFSORT Development IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 04/15/2017 04:46:00 PM: > From: Sri h Kolusu/Silicon Valley/IBM@IBMUS > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 04/15/2017 04:46 PM > Subject: Re: How can I set Non-zero

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Sri h Kolusu
>>I am guessing the OP framed the original question as "how do I set a specific RC" and that is the sort of thing he searched for. Charles, "How do I" questions cannot be answered in application programming guide. We have Smart DFSORT tricks page which shows you clever ways to use DFSORT and

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Paul Gilmartin
On Sat, 15 Apr 2017 18:18:03 -0400, Charles Mills wrote: >@Kolusu, I know how hard good documentation is. I have not looked at your >documentation -- I am just citing the empirical evidence that the OP and >@Lizette did not find the answer. > >I am guessing the OP framed the original question as

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Charles Mills
have been a start ... Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Sri h Kolusu Sent: Saturday, April 15, 2017 3:36 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How can I set Non-zero return code in DFSORT when SORTOUT re

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Sri h Kolusu
>>>Hmm, Sri, did we forget about the NULLOUT Parm/OPTION? :-)> Dale, NULLOUT is used to set a return code when there are NO records. OP wanted the opposite. He wants to set a return code when he has at least 1 record, so that it would trigger his additional processing. >>Might I respectfully

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Charles Mills
se scenarios. Thanks, Kolusu DFSORT Development From: Minoru Massaki <mmass...@gmail.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 04/15/2017 08:03 AM Subject: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero Sent by:IBM Mainfra

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Dale R. Smith
On Sat, 15 Apr 2017 11:00:57 -0700, Sri h Kolusu wrote: >Minoru Massaki, > >It is quite simple to set a return code using COUNT operator. Here are a >couple of ways setting the RC=4 . You can also set RC8 and RC12 too. > >//STEP0100 EXEC PGM=ICETOOL >//TOOLMSG DD SYSOUT=*

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Sri h Kolusu
RT Development From: Minoru Massaki <mmass...@gmail.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 04/15/2017 08:03 AM Subject: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSER

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Charles Mills
ct: Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero I would say, no, you cannot have DFSORT do something like this.  I am not seeing anything the DFSORT manuals from IBM to allow the user to force DFSORT to set codes other than it is already doing. Better t

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Lizette Koehler
age- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Minoru Massaki > Sent: Saturday, April 15, 2017 8:53 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How can I set Non-zero return code in DFSORT when SORTOUT record > count is not ze

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Minoru Massaki
ailto:IBM-MAIN@LISTSERV.UA.EDU] On > > Behalf Of Lizette Koehler > > Sent: Saturday, April 15, 2017 8:09 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: How can I set Non-zero return code in DFSORT when SORTOUT > record > > count is not zero > > &g

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Minoru Massaki
; > Sent: Saturday, April 15, 2017 8:03 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: How can I set Non-zero return code in DFSORT when SORTOUT record > > count is not zero > > > > Hello > > > > I'm looking for a way to set Non-zero return code in DFSOR

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Lizette Koehler
RV.UA.EDU] > > On Behalf Of Minoru Massaki > > Sent: Saturday, April 15, 2017 8:03 AM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: How can I set Non-zero return code in DFSORT when SORTOUT > > record count is not zero > > > > Hello > > > > I'm looking

Re: How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Lizette Koehler
How can I set Non-zero return code in DFSORT when SORTOUT record > count is not zero > > Hello > > I'm looking for a way to set Non-zero return code in DFSORT, when record count > of SORTOUT is not zero. > > I know that setting non-zero return code when SORTOUT record cou

How can I set Non-zero return code in DFSORT when SORTOUT record count is not zero

2017-04-15 Thread Minoru Massaki
Hello I'm looking for a way to set Non-zero return code in DFSORT, when record count of SORTOUT is not zero. I know that setting non-zero return code when SORTOUT record count is zero. Your help would be highly appreciated. -- 全先 実 - Minoru Massaki (M*M) E-mail: mmass...@gmail.com