On Thu, 6 May 2010 18:32:10 -0400, Thompson, Steve wrote:
>>
>>JCL doesn't restrict the characters allowed in a DSNAME, as long as
>>the DSNAME is quoted. But if it's quoted, it can't be catalogued.
>>
>Strange rule; I wonder what motivated it?
>
>DOS to MVS migrations would be my guess. When I'm doing one, I make use of 
>this.
>
I believe you're saying you quote the data set name to
prevent it's being catalogued.  How is this useful?
Is it the only way (or easiest) to prevent cataloguing?

        3 //  SET  Q=''''
        4 //STEP1    EXEC  PGM=IEFBR14
        5 //X        DD    DISP=(,CATLG),UNIT=SYSALLDA,SPACE=(CYL,0),
          //    DSN=&SYSUID..TEMP.UNQUOTE
          IEFC653I SUBSTITUTION JCL - DISP=(,CATLG),UNIT=SYSALLDA,SPACE=(CYL,0),
        6 //Y        DD    DISP=(,CATLG),UNIT=SYSALLDA,SPACE=(CYL,0),
          //  DSN=&Q&SYSUID..TEMP.QUOTED'
          IEFC653I SUBSTITUTION JCL - DISP=(,CATLG),UNIT=SYSALLDA,SPACE=(CYL,0),

 STMT NO. MESSAGE
-
        6 IEF648I INVALID DISP FIELD- KEEP SUBSTITUTED
    ...
IEF142I JOBCARD STEP1 - STEP WAS EXECUTED - COND CODE 0000
IEF285I   user.TEMP.UNQUOTE                            CATALOGED
IEF285I   VOL SER NOS= TSO009.
IEF285I   user.TEMP.QUOTED                             KEPT
IEF285I   VOL SER NOS= TSO015.

(User ID obfuscated.)

Interesting -- it's quietly kept, not catalogued.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to