× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Correct format to submmit a job in Mapics .

You must start a Mapics session first.

Josué
PGM

AMALIBx/STRMAPICS ENDS(xy) * will also create a jobact for the calling program.

/* Substitude &lda with a previouly saved value if needed or write your own code to create a valid lda. */

RTVDTAARA DTAARA(*LIBL/dtaarra) RTNVAR(&LDA)

/* CALL MAPICS SUBMISION PROGRAM */

CALL AXZPSJ PARM(&LDA program )

ENDMAPICS
ENDPGM

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Chris Wyatt
Sent: Thursday, September 06, 2007 2:24 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Submitting Batch Jobs

The job that the batch job is launched *from* needs to have a JOBACT record for AXZPSJ to work.



Christopher Wyatt
Agility, Inc.
cwyatt@xxxxxxxxxxxxxxx


-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Morrison, Doug
Sent: Thursday, September 06, 2007 12:29 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Submitting Batch Jobs

Yes I am in MAPICS and have a valid LDA the description of AXZSJ is CREATE BATCH JOB ACTIVE RECORD.

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Kris De Vlieger
Sent: Thursday, September 06, 2007 11:55 AM
To: 'MAPICS ERP System Discussion'
Subject: Re: [MAPICS-L] Submitting Batch Jobs

When doing the submit, are you "in" MAPICS or not?
The LDA needs to be correctly filled, and you need a (correct) JOBACT record



-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx]
On Behalf Of Morrison, Doug
Sent: donderdag 6 september 2007 17:51
To: MAPICS-L@xxxxxxxxxxxx
Subject: [MAPICS-L] Submitting Batch Jobs

I have created a program (CL) that I want to submit from within MAPICS using the AXZPSJ program. But a job is not getting submitted.



I call AXZPSJ and pass the LDA and SII295 as the parms.

Then AXZPSJ calls AMZS0

Then AXZPSJ call AXZSJ

Then AXZPSJ just RETURNS



I have determined that AXZSJ is updating position 242 of the LDA with a C but I can't determine why.



I have added a record to the JOBCTL file for program SII295.



Any ideas would be greatly appreciated.



Thanks

Doug




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.