One thing to keep in mind, zOAU and Python run 64bit mode. So, if you are 
calling from a Cobol/ASM program then you will take that into account.

Regards,
Jerry Edgington

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Philippe Leite
Sent: Friday, March 6, 2026 9:21 AM
To: [email protected]
Subject: [EXTERNAL] Re: Compiling C under USS

Using ZOAU you can easily call any z/OS program with a single USS command.

You can algo create a simple Cobol/ASM program to dynamically allocate
(BPXWDYN?) the required files and then call CICS pre-processor

Regards,

Philippe Leite

Em sex., 6 de mar. de 2026, 11:10, Mario Bezzi < 
[email protected]> escreveu:

> Phil, I am sure you know that  HLASM may be invoked from USS by using 
> the as command
>
> If the program you want to assemble includes EXEC CICS commands, then 
> you need to preprocess it first, using the CICS translator program DFHEAP1$.
>
> As far as I know HLASM doesn't provide integration for the CICS 
> translator, and there is no USS command to invoke it. I wish I was wrong.
>
> This means to me that you would be responsible of properly 
> pre-allocating the required DDNAMEs and of invoking it.
>
> Yes, although I didn't test it, I believe the STEPLIB environment 
> variable would allow you to find and invoke DFHEAP1$.
>
> mario
>
> On 3/5/26 6:45 PM, Phil Smith III wrote:
> > Cool, thanks.
> >
> > I wonder if a STEPLIB will Just Work for assembler, then? We have a 
> > tiny
> bit of CICS stuff and have been compiling it on the MVS side because 
> we didn't know how to make it work on the USS side.
>
> ----------------------------------------------------------------------
> 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

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

Reply via email to