Using the printer overrides for a custom spool file

[email protected]
Newsgroups gmane.comp.systems.as400.mapics
Message-ID <OF4FBAD1EA.B2A4CC7D-ON882576C8.00054A05-882576C8.00056D05@semtech.com>
I'm looking for CL program that allows me to use the printer override 
defined in Mapics for a custom spool file,  I think the CL should be like 
this:


PGM 
   DCL        VAR(&CMD) TYPE(*CHAR) LEN(180) 
   DCL        VAR(&ERROR) TYPE(*CHAR) LEN(80) 
             CALL       PGM(AXZPO) PARM('OE022PL' &ERROR &CMD) 
                           IF         (&ERROR *EQ '0') THEN(DO) 
                              CALL       QCMDEXC PARM(&CMD 512) 
                           ENDDO 
 
                          CALL       OE022RBKTT 
                          ENDPGM 


but is not working... any help is appreciated ...thanks


Antonio Rojas
Manager Applications Development
Semtech Corp.
Cell.    (805) 216-4651
Office (805) 480-2135
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.