Initial Program for Users when lauching menu item

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
hbi
Profound User
Posts: 24
Joined: Sun Oct 30, 2011 1:04 pm
First Name: Helge
Last Name: Bichel
Company Name: Helge Bichel
Country: Denmark
Contact:

Initial Program for Users when lauching menu item

Post 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)
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Initial Program for Users when lauching menu item

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests