> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Taylor, Clarence B > Sent: Monday, June 26, 2006 1:33 PM > To: [email protected] > Subject: C89 and Assembler > > > Does anyone have any good references on how to use c89 to > assemble? The > users guide, programmers guide, and the Unix System Services command > reference all have allusions to how, but not very good details. There > is the -W,a option to pass options to the assembler phase, > which I would > assume would be the normal stuff for the assembler EXEC > PARM=, but have > not yet verified that. I have been able to use the > environment variable > _C89_SUSRLIB to set my maclib concatenation. However I can > not seem to > get a listing file to come out. I have tried using -W > "a,so(mysource.lst)", but to no avail. > > Any thoughts would be appreciated > > Thank you > > > Brad Taylor
This little shell exec does it for me: #!/bin/sh export _C89_SUSRLIB='TSH009.SOURCE.MACLIB' c89 -e // "$@" Put it in a file called "hlasm" or "asm" or ... which is executable and on the PATH. Then invoke it similar to: hlasm myprog.s -o myprog >myprog.lst 2>&1 Note that the suffix must be ".s" Also, as you have noticed, change the _C89_SUSRLIB to include your macro libraries. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- 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

