BillFClark
Active Member
I need to call AS400 RPG programs from within One World Xe (unless the RUNUBE starts working). I have read previous posts and created a batch application and an event rule in the header with a variable equal to my CL lib/pgm (CALL PGM(BCLAR/J55BC001). I then added the business function B34A1030 to call the command line of my variable. When I run the UBE it does not call my CL pgm (I can dspobjd BCLAR/J55BC001 *PGM and see it is not used) and when I view submitted reports it has errored (I can't find out why it errored). I then made sure my variable was long enough (I used a description that was 250 string) and changed my variable to c:\winnt\rmtcmd.exe CALL PGM(BCLAR/J55BC001) and it still errored. I can go to RUN from my PC and enter the rmtcmd and it does run my CL pgm on the AS400.
I am new to all of this. Any suggestions on what I am doing wrong or could do differently?
I am new to all of this. Any suggestions on what I am doing wrong or could do differently?