Precisely Speaking
May 21, 2012, 07:14:55 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: So what's news with you? Tell us about it in "Getting To Know You"!
Home
Help
Calendar
Login
Register
Precisely Speaking
>
Training and Education
>
SB+ Programming Questions
>
Help - cannot call routine with SB.PROCESS from uniobjects
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Help - cannot call routine with SB.PROCESS from uniobjects (Read 640 times)
slestak
Uber-Pro
Posts: 69
Help - cannot call routine with SB.PROCESS from uniobjects
«
on:
March 24, 2011, 12:54:27 PM »
I am troubleshooting calling a USER-FORMS PACKSLIP from UniObjects for VB. Got info from Kevin that PROGS PSI.LOAD.COMMON is the key.
Have not gotten it working yet, but will document the solution.
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
Re: Help - cannot call routine with SB.PROCESS from uniobjects
«
Reply #1 on:
March 24, 2011, 01:00:44 PM »
The issue is that in an RPC call, you're authenticated into Unidata but not into SB+. This is what the PSI.LOAD.COMMON is supposed to do; initialize common so that you can call SB.PROCESS(..) for an appropriate SB+ process from within the Unidata BASIC code.
In the BASIC code, you should be able to do this:
EXECUTE 'PSI.LOAD.COMMON -U
user
...where
user
is an SB+ user ID. (Prelude uses "CONT" for the continuous printer, not sure if there's anything special about that name.) Once this execute returns, SB+ common should be initialized and you should be able to CALL SB.PROCESS('
whatever
') from your routine.
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Getting To Know You
=> Announcements
=> Big Thoughts / Cool Ideas
=> Rants & Raves
-----------------------------
Application Support
-----------------------------
=> Red Leaf
=> Activant/Prelude Support
=> Summit Support
=> Avante Support
=> PRC Support
-----------------------------
Training and Education
-----------------------------
=> Connect!
=> U2 Programming Questions
=> SB+ Programming Questions
=> Web Programming Questions
=> Business Intelligence / MITS
=> PC / Hardware / Miscellaneous Support
Loading...