On Mon, 10 Aug 2009 23:35:47 -0700, Ron Hawkins wrote:
>
>I believe your problem occurs because you now have SYS1.MACLIB concatenated
>with SYS1.MACLIB, except the first one in the concatenation has DCB in the
>JCL that does not match the actual dataset - hence your error.
>
>The override "X/" on statement 6 and before statement 7 is the clue.
>
It appears that line displays the content of the overridden statement,
not the overriding.  When I change only the BLKSIZE:

        6 //SYSLIB    DD  UNIT=SYSALLDA,SPACE=(80,(1,,1)),
          //  DISP=NEW,DSN=&&MAC,
          //  RECFM=FB,LRECL=80,BLKSIZE=32760
          X/SYSLIB   DD  DSN=SYS1.MACLIB,DISP=SHR
        7 //          DD  DISP=SHR,DSN=SYS1.MACLIB

the assembly succeeds with no messages.  The Assembler Summary in
SYSPRINT shows a temp DSN as the first catenand:

                                   Diagnostic Cross Reference and Assembler Summ

      No Statements Flagged in this Assembly
 HIGH LEVEL ASSEMBLER, 5696-234, RELEASE 5.0, PTF UK10754
 SYSTEM: z/OS 01.07.00              JOBNAME: HELLO       STEPNAME: DOIT       PR
 Data Sets Allocated for this Assembly
  Con DDname   Data Set Name                                Volume  Member
   P1 SYSIN    user.HELLO.JOB05565.D0000101.?
   L1 SYSLIB   SYS09222.T170822.RA000.HELLO.MAC.H01         WORK02
   L2          SYS1.MACLIB                                  MVS3RS
      SYSLIN   SYS09222.T170822.RA000.HELLO.OBJ.H01
      SYSPRINT user.HELLO.JOB05565.D0000102.?
      SYSTERM  user.HELLO.JOB05565.D0000104.?

>> -----Original Message-----
>> From: IBM Mainframe Discussion List [mailto:[email protected]] On
>Behalf Of
>> Paul Gilmartin
>> Sent: Monday, August 10, 2009 4:19 PM
>>
>> OK.  I changed to:
>>
>>        6 //SYSLIB    DD  UNIT=SYSALLDA,SPACE=(80,(1,,1)),
>>          //  DISP=NEW,DSN=&&MAC,
>>          //  RECFM=FB,LRECL=80,BLKSIZE=80
>>          X/SYSLIB   DD  DSN=SYS1.MACLIB,DISP=SHR
>>        7 //          DD  DISP=SHR,DSN=SYS1.MACLIB
>>
>> I needed to specify DISP and DSN to override those in the
>> library proc.

-- 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