If the customer has to specify any JCL, then using a specified DDname is
the idiomatic way to go.

DEVTYPE is dead simple for sniffing out DUMMY vs. spool vs. DASD vs. TAPE
vs. missing.  I wouldn't use RDJFCB just for that.

sas

On Tue, Feb 19, 2019 at 11:39 AM Charles Mills <charl...@mcn.org> wrote:

> Well, there is no EXEC anywhere in the question but yes, changing the
> specs to make the customer supply a DS name rather than a DD statement
> might be an approach.
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of ITschak Mugzach
> Sent: Tuesday, February 19, 2019 8:06 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Any easier way to determine if DD is dummy than GETDSAB?
>
> Why don't youb simply get the dsname as parm to your exec and perform
> dynamic allocation if a dsname exist in the parm field?
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
sas

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to