ODBC, QCMDEXC and RUNUBE
I have been working on an ODBC command that I would like to call from an ASP.Net application. It will be used to submit UBEs to a held job queue. Then each night at a specified time the job queue will be released and the jobs will run. This is to try and offset the miserable E1 job scheduler.
Anyway, here is what the SQL looks like:
CALL QCMDEXC ('RUNUBE USER(*****) PASSWORD(******) ENVIRON(JPD811) REPORT(R0010P) VERSION(ZJDE0001) JOBQ(********) IORB(B)',0000000107.00000)
The QCMDEXC is quite the little beast. If you plug the above code into STRSQL on the System i, you will need to count the spaces at the end of each line and add that to the 107 length.
The bad part is that I can get this to work on the System i STRSQL, but not from the ASP.Net page. I have looked through all kinds of web sites and haven’t found a solution.
So, if you have a solution for me, I would really appreciate it.
Author
Stewart Schatz
Average Rating
2 thoughts on “ODBC, QCMDEXC and RUNUBE”
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
More Stories
Quick Tip: Hold All JDE Job Queues
The following SQL statement will put all JDE Job Queues on hold: UPDATE SY920.F986130 SET QCQUSTS='02' This statement is very...
How To Disable Client Package Deployment
If you have a development client that has been neglected and JDE wants you to install 15 update packages but...
Quick Tip: Limit The Number Of Rows Returned From A SQL Query
This is pretty basic, but I had to look up the syntax to use for SQL on IBM DB2 so...
Quick Tip: Where Is An Application On The Menu?
The following SQL will give you a good idea if an application or UBE is on the menu and where...
Quick Tip: Decline All Update Packages Using SQL
A quick way to decline all packages that have been marked for deployment on a development client is use SQL:...
Quick Tip: Change A Scheduled Job’s Time Zone Using SQL
If you work with multiple time zones, especially if one uses Daylight Saving Time and the other does not, it...
We actually have a special interface for E1 with Robot/SCHEDULE that launches the runubexml. This adds greater security and event driven scheduling. Check out the above web site.
We used the Advanced Job Scheduler. It does event driven scheduling, and you can define different calendars to handle statutory holidays, financial periods, etc.