RPG concept rich displays not used command SBMJOB to QBATCH
-
- New User
- Posts: 16
- Joined: Thu Dec 07, 2017 10:13 pm
- First Name: chatchawan
- Last Name: phuttha
- Company Name: AYCAL
- City: bangkok
- Country: Thailand
- Contact:
RPG concept rich displays not used command SBMJOB to QBATCH
Error used command SBMJOB to qbatch
- Attachments
-
- RPG back end not Command SBMJOB call pgm.pdf
- (225.7 KiB) Downloaded 148 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: RPG concept rich displays not used command SBMJOB to QBATCH
You haven't provided much information, here... and your question doesn't appear to have anything to do with Rich Displays. (The SBMJOB command is an IBM command, it is not part of Profound UI.)
View the job log, it'll tell you what is causing the error.
View the job log, it'll tell you what is causing the error.
-
- Profound User
- Posts: 42
- Joined: Wed Jun 14, 2017 12:06 pm
- First Name: Dan
- Last Name: Devoe
- Company Name: Boston Warehouse Trading
- State / Province: Massachusetts
- Zip / Postal Code: 02062
- Country: United States
- Contact:
Re: RPG concept rich displays not used command SBMJOB to QBATCH
FWIW - I have a few programs that submit jobs, albeit not to QBATCH.
I have a service program which contains procedure "sbmjob". I'm simply returning if there was an error when issuing the command - you can go much further & look @ the PSSR
When submitting, from the Rich Display program RPG source, my code looks similar to this (note that "Button_OK" is a procedure inside a service program that displays a rich display window):
I have a service program which contains procedure "sbmjob". I'm simply returning if there was an error when issuing the command - you can go much further & look @ the PSSR
When submitting, from the Rich Display program RPG source, my code looks similar to this (note that "Button_OK" is a procedure inside a service program that displays a rich display window):
RPG CODE
RPG CODE
As Scott alluded to, please post your job log - or a code snippet.-
- New User
- Posts: 16
- Joined: Thu Dec 07, 2017 10:13 pm
- First Name: chatchawan
- Last Name: phuttha
- Company Name: AYCAL
- City: bangkok
- Country: Thailand
- Contact:
Re: RPG concept rich displays not used command SBMJOB to QBATCH
Successful, thank you for your support.
-
- New User
- Posts: 16
- Joined: Thu Dec 07, 2017 10:13 pm
- First Name: chatchawan
- Last Name: phuttha
- Company Name: AYCAL
- City: bangkok
- Country: Thailand
- Contact:
Re: RPG concept rich displays not used command SBMJOB to QBATCH
Scott Klement wrote:You haven't provided much information, here... and your question doesn't appear to have anything to do with Rich Displays. (The SBMJOB command is an IBM command, it is not part of Profound UI.)
View the job log, it'll tell you what is causing the error.
Successful, thank you Scott for your support.
-
- Profound User
- Posts: 42
- Joined: Wed Jun 14, 2017 12:06 pm
- First Name: Dan
- Last Name: Devoe
- Company Name: Boston Warehouse Trading
- State / Province: Massachusetts
- Zip / Postal Code: 02062
- Country: United States
- Contact:
Re: RPG concept rich displays not used command SBMJOB to QBATCH
I'm glad that you got this to work.
I noticed a flaw in the logic that I was using (it worked, but I'm unsure how). The command length wasn't taking into consideration the "sbmjob ' prefix.
Code has been modified as follows:
I noticed a flaw in the logic that I was using (it worked, but I'm unsure how). The command length wasn't taking into consideration the "sbmjob ' prefix.
Code has been modified as follows:
RPG CODE
Who is online
Users browsing this forum: Google [Bot] and 4 guests