Hi Jhon!

You have control of the MAPICS Jobs in JOBACT *PF , Exemplo from control job (In Sqlrpgle ) from production bacth where AMIPEB is a programm mapics to execute, this a user and job number.

Select ACREC,JAUSR,T,JBREF,JAJNR,JQUE1
From (
Select ACREC,JAUSR,Char(DTIME) As T,JBREF,JQUE1,JAJNR,PROCX,
Substr(LDABS,110,6) As LOT
From JOBACT06
) As Tab01
Where PROCX='AMIPEB' And LOT='AMIPEA'
Order by T

Where ACREC is A = Active and Q = In Queue

Best Regards!

Luis Saenz

--------------------------------------------------------------------------------

Core do Brasil Ltda
http://www.coredobrasil.com.br
Phone +55 11 3711-8328
São Paulo, Brasil



----- Original Message -----
From: "John Furniss" <JFurniss@xxxxxxxxxxxxxxxxx>
To: "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx>
Sent: Monday, July 20, 2009 10:23 AM
Subject: [MAPICS-L] CPYSPLF from batch job


Hello List:



I am needing to copy the Mapics Open Orders/Back Orders by Item report
(spool file name AMBDZPFP) to a physical file. I then run the PF through
an RPGLE program to replace the report date in the header to reflect the
date the actual data is for.



The CPYSPLF command requires job name, user and number of the spool file
being copied. My problem is that the report gets submitted to a random
batch job so I have no way of finding the job name or number.



Has anyone done something similar? Is there a Mapics report override
that will help me?



Any help is greatly appreciated.



Thanks,



John Furniss

Applications Programmer

Allied Machine & Engineering, Corp

Phone: 330-343-4283, ext. 8371

email: jfurniss@xxxxxxxxxxxxxxxxx



_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
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 thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.