Anonymous_User Absent Member.
Absent Member.
788 views

Terminal Application & ReadTExt


Hi,

we are using IBM Personal Communication SSO-integrated. If one is
starting PersComm one can choose between different applications. SSO
loops over the screen to find out if and where to put in login
credentials. Anything is working nicely, only when one comes to the
login screen and does not choose to select one of the options but
instead goes to the menue > file > quit all sso is throwing an error.
I assume it´s because ReadText can´t find the coordinated to read from
(anymore) but still want´s to.

any ideas on how to deal with that?


Error: BROKER_ERROR_CONVERTING_POSITION(-309)

Sub InitialPage
Repeat
ReadText ?appl1 24 13 17
ReadText ?appl2 21 19 17
ReadText ?appl3 12 4 59

If "Credentials here:" -in ?appl1
Call Loginappl1
Else
If "Credentials here:" -in ?appl2
Call Loginappl2
Else
If "appl3 LOGON" -in ?appl3
Call Loginappl3
EndIf
EndIf
EndIf
Delay 500
EndRepeat
EndSub


--
florianz
------------------------------------------------------------------------
florianz's Profile: http://forums.novell.com/member.php?userid=210
View this thread: http://forums.novell.com/showthread.php?t=448623

0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Terminal Application & ReadTExt

You are right that the script is still running after the emulator is
closed so the error is correct.

I would be tempted to get NSL to give the user an option to close the
emulator and for it to close down the app.

Otherwise it may be worth putting a check in to see if the app is still
running. I am not 100% sure what the best way to do this would be but
it may be possible.

Dave

On 23/11/2011 14:36, florianz wrote:
>
> Hi,
>
> we are using IBM Personal Communication SSO-integrated. If one is
> starting PersComm one can choose between different applications. SSO
> loops over the screen to find out if and where to put in login
> credentials. Anything is working nicely, only when one comes to the
> login screen and does not choose to select one of the options but
> instead goes to the menue> file> quit all sso is throwing an error.
> I assume it�s because ReadText can�t find the coordinated to read from
> (anymore) but still want�s to.
>
> any ideas on how to deal with that?
>
>
> Error: BROKER_ERROR_CONVERTING_POSITION(-309)
>
> Sub InitialPage
> Repeat
> ReadText ?appl1 24 13 17
> ReadText ?appl2 21 19 17
> ReadText ?appl3 12 4 59
>
> If "Credentials here:" -in ?appl1
> Call Loginappl1
> Else
> If "Credentials here:" -in ?appl2
> Call Loginappl2
> Else
> If "appl3 LOGON" -in ?appl3
> Call Loginappl3
> EndIf
> EndIf
> EndIf
> Delay 500
> EndRepeat
> EndSub
>
>

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.