On Tue, Dec 22, 2020 at 2:11 PM Paul Gilmartin < [email protected]> wrote:
> On Tue, 22 Dec 2020 13:14:07 -0600, Hobart Spitz wrote: > > >You can do it in batch REXX. > > > >Stop being brain-dead and thinking about everything in terms of JCL. > > > >I've don't write JCL anymore. > > > >JCL causes brain-damage. > > > Be nice, or at least stay on-topic and ad-rem, not ad-hominem. > This was and iis me being nice, on-topic, etc. People need to use their brains. > > JCL and the Initiator provide protection against ENQ deadlock > not available with Rexx. > False: TSO alloc or sysdsn() can protect against most situations. One simple, more general, solution is to do all critial allocations up front. If any fail, free all, wait a bit, and retry. There are many alternatives,depending on the requirement. E.g., If a dataset is not available, skip it and do it later. Still not enough? Write (or get your favorite assembler programmer to write) a CMS SLEEP like program. There might be one on a CBT tape or on the web. 99% of what JCL does for you can be done in REXX. 99% of what you can do with REXX *cannot* be done in JCL. Anyone who thinks otherwise is just wrong or is too lazy to do a little extra work that saves a lot of work later. Work smart, not hard. > > > >On Tuesday, December 22, 2020, Jousma, David wrote: > > > >> I would build the JCL, and then FTP it with the filetype below. That > >> will submit and run the job. > >> > Why is this preferable to just writing directly, or via IEBGENER to INTRDR? > > >> SITE FILEtype=JES NOJESGETBYDSN > >> put your.modified.jcl. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
