It seems to depend on the length of the value in &SYSPARM. In my test
(and likely your) test, &SYSPARM appears to have been a single blank .
But if it were just the right length, then the SAVE macro can split up
the values such that the last DC is DC CL1''' which has bad syntax. I
got this same error by removing the blanks in from of and behind
&SYSDATE

On Wed, Feb 27, 2013 at 9:27 AM, Mary Anne Matyaz
<[email protected]> wrote:
> This assembles fine for me.
>           SAVE (14,12),,'''&SYSPARM &SYSDATE &SYSTIME'''
> +         B     24(0,15)                          BRANCH AROUND ID       
> 01-SAVE
> +         DC    AL1(19)                           LENGTH OF IDENTIFIER   
> 01-SAVE
> +         DC    CL8''' 02/27'                     IDENTIFIER             
> 01-SAVE
> +         DC    CL8'/13 10.0'                     IDENTIFIER             
> 01-SAVE
> +         DC    CL3'4'''                          IDENTIFIER             
> 01-SAVE
> +         STM   14,12,12(13)                      SAVE REGISTERS         
> 01-SAVE
>
> What assembler options are you using?
>
> MA
>
> On Wed, 27 Feb 2013 06:42:28 -0800, Phil Smith <[email protected]> wrote:
>
>>In one of the IBM sample exits for DB2 (DSNA10.SDSNSAMP(DSN8FPRC)) we find:
>>             SAVE  (14,12),,'''&SYSPARM &SYSDATE &SYSTIME'''
>>...which won't assemble, generating:
>>000015                              142+         DC    CL8'3 08.36''
>>** ASMA063E No ending apostrophe - 3
>>** ASMA435I Record 62 in SYS1.MACLIB(SAVE) on volume: VTMVSC
>>000015                              143+         DC    CL1'''
>>** ASMA063E No ending apostrophe - '
>>** ASMA435I Record 58 in SYS1.MACLIB(SAVE) on volume: VTMVSC
>>
>>So I changed it to just
>>             SAVE  (14,12)
>>and of course that works, but I can't find any documentation for SAVE that 
>>includes a second or third operand!
>>
>>I've looked at the macro, and it's pretty opaque and poorly commented (though 
>>I do like one item under "CHANGE ACTIVITY": $01 = OW54354  HBB7706 020419 
>>PDXB: FIX "J" - wonder what that means?).
>>
>>Anyway, can anyone point to real doc for SAVE? Surely after almost 50 years 
>>it exists...
>>--
>>...phsiii
>>
>>Phil Smith III
>>[email protected]<mailto:[email protected]>
>>Voltage Security, Inc.
>>www.voltage.com<http://www.voltage.com/>
>>
>>
>>----------------------------------------------------------------------
>>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



--
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

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

Reply via email to