On 2/27/2013 7:42 AM, Phil Smith 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/>


MVS Programming: Assembler Services
Reference, Volume 2 (IAR-XCT)

 - iea2a9c1.pdf for z/OS 1.13

Chapter 79 - SAVE

the operands are listed as:

(reg1) |
(reg1,reg2)
 reg1 and reg2: Decimal digits, and in the order 14, 15, 0 through 12.
,
,T
,id name id name: Character string of up to 70 characters or as an *.

so the sample exit code is using the &SYS... info in the 'id'
string; but there seems to be a punctuation issue in their coding.



--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
    for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

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

Reply via email to