On Fri, 30 Oct 2020 20:34:42 -0400, Tom Conley wrote:

>On 10/30/2020 7:13 PM, lloyd christensen wrote:
>> Thanks, took that plus hours of cursing and trying different stuff. Finally 
>> got a different IKJEFTxx member and it worked. Lots of problems with it 
>> wanting to allocate the same profile I was logged on with, and aggravation 
>> with allocation issues for the profile and ISPFILE. Eventually got it though.
>> 
Is Lloyd posting on BITNET where many of us can't see his questions, but
only your replies?

>If you don't care about saving anything in the profile, allocate a temp
>PDS dataset with a small allocation for ISPPROF.  Same for any other
>output files you don't care about saving.
> 
+1
I do that regularly, not only to avoid ENQ conflicts but also in code for
general consumption where I want to control the environment and not
have it muddled by individual users' idiosyncratic profiles.

Likewise, any libraries specific to interactive operation such as panels
can be omitted, DUMMY, or DISP=(NEW,DELETE) in batch operations.

Unless the OP is heavily invested in ISPF craft this seems like something
that might be done more simply in pure Rexx with an IRXJCL step, shedding
the burden of ISPF and all its libraries.

Of course, I'd do such a chore in a POSIX shell script invoked by BPXBATCH,
AOPBATCH, BPXWUNIX, or COZBATCH.  Rexx has no instream data sets of
its own (but JCL SYSINs might suffice.)  Shell here-documents provide a
combination of symbol substitution and command substitution not available
with SYSIN DD DATA,SYMBOLS=...

I truly miss command substitution in JCL.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to