Calling ube from CL/RPG.

Bobby_S

Active Member
Can anyone tell me steps that needs to be done to kick off E1 ube from either a RPG or CL program. Also if i can kick off cl/rpg from E1.

Thanks
Bobby
 
use the runube command as the other poster said. that command is in the b7334sys library, so you will have to add that library to the job's library list (and to your library list as you create the program)

I don't use the E1 scheduler, but I don't think you can submit a CL/RPG, only UBE's. You can use the iSeries job scheduler to submit your CL/RPG programs.
 
We can use the Run ube and give the parameters, does anyone know :-
1)how we can make several RUNUBE commands and then kick them off like a script.

2) The RUN Ube command works in the AS400 console, however when i create a bat file in IFS(Windows part of As400) the command fails.
 
Here's an example on how we use the RUNUBE command within a CL script on
the AS400 ..





0006.00 /* Start JDE Subsystem Job R42520


0007.00


0008.00 SBMJOB CMD(RUNUBE USER(valid AS400 account ID) +


0009.00 PASSWORD(????????) ENVIRON(PD7333) +


0010.00 REPORT(R42520) VERSION(STC0003CM) +


0011.00 SAVE(*NO) +


0012.00 OWPRINTER('QGPL/printer name')) +

0013.00 JOB(R42520) JOBQ(QGPL/jobq name) +

0014.00 OUTQ(QGPL/outQ name) USER(QSYSOPR)



The CL script is then set up in the AS400 job scheduler "WRKJOBSCDE" to
run at a time specified by yourself - very much like you would setup a
batch job to run on a windows server using the "job scheduler".



I never tried running the RUNUBE command from the IFS portion.



Hope the above helps you anyway



JL





_____

From: [email protected] [mailto:[email protected]]
On Behalf Of Joel
Sent: 15 December 2005 10:14 AM
To: [email protected]
Subject: Re: Calling ube from CL/RPG.



We can use the Run ube and give the parameters, does anyone know :-
1)how we can make several RUNUBE commands and then kick them off like a
script.

2) The RUN Ube command works in the AS400 console, however when i create
a bat file in IFS(Windows part of As400) the command fails.

_____


The entire JDELIST thread
for
viewing.

Looking for a job? Check out the Job Opportunites forum

This is the JDELIST EnterpriseOne Mailing List.
The instructions on how to unsubscribe from any JDELIST mailing list are
available here <http://www.jdelist.com/unsubscr.shtml> .
JDELIST is not affiliated with JDEdwards(r).
 
Put the multiple runube commands into a CL program, RUNUBE is a native AS/400 commmand, not to be run in the PC environment
 
Back
Top