Calling ACFBATCH in assembler

31 views
Skip to first unread message

Jake Anderson

unread,
Mar 14, 2018, 7:57:50 AM3/14/18
to ASSEMBL...@listserv.uga.edu
Hi,

Is there anyone who has been successful in calling ACFBATCH via assembler ?

Regards
Jake

Lizette Koehler

unread,
Mar 14, 2018, 10:08:15 AM3/14/18
to ASSEMBL...@listserv.uga.edu
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

Jake Anderson

unread,
Mar 14, 2018, 12:45:06 PM3/14/18
to ASSEMBL...@listserv.uga.edu
I tried Calling but it fails with S0C4 reason 11, fails at the point of
calling ACFCMD macro


We are building a inhouse product

Binyamin Dissen

unread,
Mar 14, 2018, 5:08:37 PM3/14/18
to ASSEMBL...@listserv.uga.edu
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 <justmai...@GMAIL.COM>
wrote:

:>I tried Calling but it fails with S0C4 reason 11, fails at the point of
:>>

--
Binyamin Dissen <bdi...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

Keven

unread,
Mar 14, 2018, 9:20:28 PM3/14/18
to ASSEMBL...@listserv.uga.edu




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
Reply all
Reply to author
Forward
0 new messages