Paul Gilmartin wrote:
On Mon, 3 Nov 2008 11:04:10 -0600, Kirk Wolf wrote:
Then, use a Unix shell on z/OS and "make" to build your z/OS code -
assembler is no problem and you can build to z/OS load modules just
fine.
Once you get the hang of make, it has many advantages over building
with JCL.   But: you can still use JCL to build systems where the
source is in zFS/HFS/NFS if you want.

What do you use to invoke HLASM from make?  cc?  RYO?  I tried the
former and was dismayed to learn that it forces PARM to uppercase.
Has this been fixed lately, perhaps with an ASIS flag?  I'd submit
a PMR, but I suspect it would just get WAD.

I don't understand the rationale for the idiosyncrasy.  JCL passes
the PARM ASIS.  Rexx passes the PARM asis.  TSO CALL has at least
an ASIS option.  cc passes options ASIS to language translators other
than HLASM.  Why does cc (only) pick on HLASM (only).

-- gil

Well, there is the 'as' command; as a test I ran:

as -a=test.out -msysparm='Great Company'  -o test.o calcwit.s

and then an obrowse of test.out shows:

1                                         High Level Assembler Option Summary
-
0  No Overriding ASMAOPT Parameters
   Overriding Parameters-  LIST,TERM,ASA,sysparm(Great Company),OBJECT


So it looks like it made it. The program Assembled
clean. OTOH, I didn't really use the sysparm value.
Still, it looks promising.


Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.html    <==

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