|
Hi.. New to the list.
Step one.
Run The preparation step manualy.
Creata a data area in a library existing on the library list CRTDTAARA
name
Save the LDA Value on this data area.
Step two.
Look at the fields that change with it submition example dates...
Create a CL with the followin intructions on it.
PGM
/* PROCEDURE TO AUTO SUBMIT any mapics batch job*/
DCL VAR(&LDA) TYPE(*CHAR) LEN(1024)
CHGLIBL LIBL(*mapics liblrary list*)
/* CALL MAPICS PROGRAM */
AMALIBE/STRMAPICS ENDS(ENV) This is the environment
designator
/* READ PREVIOUSLY SAVED LDA VALUES FOR the transaction preparation IN
DATA AREA*/
RTVDTAARA DTAARA(*LIBL/name) RTNVAR(&LDA)
include logic to change the value of the &LDA for dte selection ETC.
/* CALL MAPICS SUBMISION PROGRAM */
CALL AXZPSJ PARM(&LDA PROGRAM NAME)
ENDMAPICS
ENDPGM
Step 3.
Create a job schedule on a mapics jobq.
This will take care of submiting the job.
Josué Garcia Irizarry
Systems Analyst
ITT Industries
C&K Switch Products
15 Riverdale Ave
Newton MA 02458
Email: josue.garcia@xxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.