Page 1 of 1

Initial Program for Users when lauching menu item

Posted: Wed Nov 02, 2011 7:13 pm
by hbi
From a previous post I have learned assigning an initial program to users. This initial program runs when lauching a session and works.

In 5250 eviroment we use an initial program to do some checking, setup *LDA etc. This ocuurs of course for every signon / session.

Every Atrium launch of Rich Apps is the same as starting a new 5250 session
We need to run the same initial program as for 5250 sessions, but a Atrium launch does NOT provide an option for an initial program. I could put the initial program call into every Rich App, but this is not a good nor effective solution.

Any solution for this urgent matter ?

Brgds
Helge
(evaluating PUI 3.17)

Re: Initial Program for Users when lauching menu item

Posted: Thu Nov 03, 2011 9:38 am
by David
When you launch a rich UI application outside of a Genie session, there is no 5250 interactive job. The program is called in a new batch job.

So, the normal interactive job setup processes to not occur. If you want interactive job setup processing, you need an interactive job!

Genie provides a 5250 interactive session. If you start the session in Genie, all of the normal setup will occur. Rich UI applications can then be called in the job.

This is a similar issue to your earlier posts regarding STRPCCMD. If you want the behaviors of a 5250 session, then you need to have a 5250 session. Genie can provide this.

With no 5250 session, you'd have to devise your own startup processes and also to work around usage of other 5250-dependent concepts, such as STRPCCMD.