"Note that if stepnames are not unique within the job, such as when the same procedure is executed multiple times, results might be unpredictable; but in most cases, references to non-unique stepnames will resolve to the first occurrence of that stepname."
Does not give me a warm and fuzzy feeling. What is "might be unpredictable"? How is that different from "are unpredictable"? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: Friday, December 11, 2020 12:10 PM To: [email protected] Subject: Re: How test correct procstep RC with JCL IF? I wondered about that, but how do I test that? It is not documented. If it seems to work once, is that a good enough test? Twice? Five times? How do I know whether it will work if other things in the PROC or JOB change? "Hopefully" is not a great testing philosophy. <g> Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Steve Smith Sent: Friday, December 11, 2020 11:49 AM To: [email protected] Subject: Re: How test correct procstep RC with JCL IF? You may be over-thinking it. I know refer-backs to a stepname stay inside a particular PROC invocation, so hopefully, the same rule applies to IF. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
