Assuming this is a program that gets called via JCL then it’s trivial to call it from your own code.
As previously noted, you will likely need to set R1 to point to a valid PARM construct (zero-length if no parameters).
If you’re LOADing the module and branching to it you may need to switch and restore AMODE.If the module was linked with AC=1, an APF authorized environment may be required.
You may want to LINK to or even ATTACH the module if it has AC=1 and/or depends on any program properties
You may need to pre-allocate actual or SYSOUT data sets (dynamically or in your own JCL) according to the DD definitions in the ACFBATCH JCL
A SLIP trap might be useful to determine how owner of ACFBATCH calls it.
Good luckKeven
On Wed, Mar 14, 2018 at 4:08 PM -0500, "Binyamin Dissen" <
bdi...@DISSENSOFTWARE.COM> wrote:
I would start off with the obvious.
As it is a JS program, it expects R1->Word->H'length',C'parm'.
What is in R1 when you call it?
On Wed, 14 Mar 2018 22:15:03 +0530 Jake Anderson
wrote:
:>I tried Calling but it fails with S0C4 reason 11, fails at the point of
:>calling ACFCMD macro
:>
:>
:>We are building a inhouse product
:>
:>On 14-Mar-2018 7:38 PM, "Lizette Koehler" wrote:
:>
:>> Jake,
:>>
:>> Is that an interface to ACF2?
:>>
:>> If so, have you tried it yet? And if so, what did you see as a result?
:>>
:>> Or, have you gone to
communities.ca.com (you need a site number to join
:>> for free) and posted on the ACF2 community site?
:>>
:>> Lizette
:>>
:>>
:>> > -----Original Message-----
:>> > From: IBM Mainframe Assembler List On
:>> > Behalf Of Jake Anderson
:>> > Sent: Wednesday, March 14, 2018 4:58 AM
:>> > To:
ASSEMBL...@LISTSERV.UGA.EDU
:>> > Subject: Calling ACFBATCH in assembler
:>> >
:>> > Hi,
:>> >
:>> > Is there anyone who has been successful in calling ACFBATCH via
:>> assembler ?
:>> >
:>> > Regards
:>> > Jake
:>>
--
Binyamin Dissen