Precisely Speaking
May 21, 2012, 06:54:22 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
>
SB+ and Redback Phantoms
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: SB+ and Redback Phantoms (Read 2240 times)
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
SB+ and Redback Phantoms
«
on:
June 21, 2007, 07:50:57 AM »
In a recent Schedule Definition installation, we ran into all sorts of confusion regarding having a single account that can run both SB+ and Redback phantoms. First, some background:
SB+ Job Schedule phantoms need SB.LOGIN to be started in the LOGIN proc/paragraph. Redback phantoms need WW.SB.RB to be started in the LOGIN proc/paragraph. Obviously, both cannot be started in the same LOGIN. We first tested @USER.TYPE under the assumption that SB+ phantoms set @USER.TYPE = 1 and RB phantoms set @USER.TYPE to 0, using this paragraph:
PA
IF @USER.TYPE = 1 THEN SB.LOGIN
WW.SB.RB
However, for some reason this caused SB.LOGIN to be invoked for both SB+ and RB tasks. Yes, WW.SB.RB invokes SB.LOGIN, but it's supposed to sense when it's a RB job and just drop to TCL. This made us believe that @USER.TYPE was 1 for RB jobs (which we have since learned it is 0.) In this configuration however, rather than dropping to TCL, WW.SB.RB was running SB.LOGIN for some unexplained reason. In the end then, we found this to be the golden ticket:
PA
IF @USER.TYPE = 1 THEN GO PHAN
WW.SB.RB
GO EXIT
PHAN:
SB.LOGIN
EXIT:
This is basically the same as before but with a lot more lines and this one works. SB.LOGIN logs the port off when its done so there really isn't much difference between the two variations, except for one works and the other doesn't.
FYI
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...