|
Thanks Rusty, It was a bad interpretation of e-info article that caused the problem. Mapics is going to change the article. Below is what I finely ended up with and it works fine. The example had parm('*curr'000000'*last'000&lda'*rtv'&rtcd) I guess they meant the ' to be a space and I took it as a char string being put together. I don't program on a regular basis and it took me a while to realize that you can't use an expression in a CALL and the ' where spaces. Thanks for the quick response from everyone /*-------------------------------------------------------------------*/ /* QTYAUDIT - Used to submit Allocation quantity audit */ /* to the AS/400 Job scheduler using Mapics environment */ /* Created by - Richard Bryant */ /*-------------------------------------------------------------------*/ PGM DCL VAR(&LDA) TYPE(*CHAR) LEN(1024) DCL VAR(&RTCD) TYPE(*CHAR) LEN(8) DCL VAR(&PSEL) TYPE(*CHAR) LEN(70) ADDLIBLE LIB(AMALIB) /* Production library */ MONMSG MSGID(CPF0000) STRMAPICS ENDS(MM) /* Production enviroment */ CALL PGM(AXZLDA0R) PARM(*CURR 000000 *LAST 000 + &LDA *RTV &RTCD) CALL PGM(AMIPVF) PARM(&LDA) ENDMAPICS ENDPGM ****************** End of data ************************************** -----Original Message----- From: mapics-l-admin@midrange.com [mailto:mapics-l-admin@midrange.com]On Behalf Of Richard Bryant Sent: Thursday, November 15, 2001 2:56 PM To: Mapics-L (E-mail) Subject: Passing expression in parm to submit Allocation audit program Does anyone have a good example of the CL needed to submit Allocation and order qty audits? I am having problems entering the parm expression for the program call axzlda0r as described by MAPICS E-info. _______________________________________________ This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: MAPICS-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/mapics-l or email: MAPICS-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.
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.