In <[email protected]>, on
05/01/2013
   at 10:27 AM, Etienne Thijsse <[email protected]> said:

>So the only code in this assembler source is the "standard linkage"
>stuff, which I got from the "MVS Assembler Language" book.

It's generally safer to rely on IBM's manuals. In this case the
linkage is correct *unless* you link with RENT or otherwise cause the
program to be loaded into r/o stroage. Writing code that is not r/o is
generally bad form.

>           L           15,=X'01'

That doesn't do what you think it does. Did you mean

           L           15,=XL4'01'

or

           LA          15,X'01'

? IAC, why not drop it and use


>           RETURN (14,12),RC=1

if that is your only return code?


>What is weirder still is that I can copy a.out to a PDSE member, and
>submit it with some JCL that has CEE.SCEELIB in its STEPLIB; this
>does not crash,

Presumably CEE.SCEELIB is not APF authorized.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2        <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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

Reply via email to