Linking Visual components to a 5250 component

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Linking Visual components to a 5250 component

Post by jtaljaard »

Can I link, for example, a label on Visual Lansa to a label from a 5250 screen, so that when the application is executed it displays that label?

Another example, is it possible to link an edit box on Visual Lansa to an edit field from a 5250 screen?
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Linking Visual components to a 5250 component

Post by René Houba »

Hi jtaljaard,

I try to understand your question...

Is this aXes?
RAMP?

Kind regards,
René
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Linking Visual components to a 5250 component

Post by jtaljaard »

Hi Rene

I am trying to create a new application directly from Visual LANSA which connects to a few 5250 screens.

I want to incorporate a sign in form which checks back to the iBMi server for authentication (not sure if this can be done via a server module).

I want to know if I can create a label on a windows application Form, that changes based on what is displayed on the 5250 screen.

Example, if a user works for the creditors department the label will display creditors on the Windows application because based on their IBMi user profile, when they access the 5250 screen the label will display Creditors. Same goes for someone who works for the Debtors department, when they access the windows application, the label on the windows form will display Debtors, because 5250 screen they signed into shows Debtors.

Hope I am explaining correctly.
I am hoping that something like this can be done via Visual Lansa, been testing to see if it is.
Tim McEntee
Posts: 57
Joined: Thu May 26, 2016 8:46 am

Re: Linking Visual components to a 5250 component

Post by Tim McEntee »

Hi jtaljaard,

LANSA has a sophisticated product called RAMP that can be used to access and control underlying 5250 screens. There is a section called Screen wrappers that allows you run a VL Form or VL Web view that does what you are asking. The form or reusable must be run inside the VLF framework.

https://docs.lansa.com/15/en/lansa050/i ... s%7C_____0

RAMP is a separate product and requires a license, so it may be a bit of overkill for what you want.

Tim
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Linking Visual components to a 5250 component

Post by jtaljaard »

Tim McEntee wrote: Fri Oct 06, 2023 12:49 pm Hi jtaljaard,

LANSA has a sophisticated product called RAMP that can be used to access and control underlying 5250 screens. There is a section called Screen wrappers that allows you run a VL Form or VL Web view that does what you are asking. The form or reusable must be run inside the VLF framework.

https://docs.lansa.com/15/en/lansa050/i ... s%7C_____0

RAMP is a separate product and requires a license, so it may be a bit of overkill for what you want.

Tim
Hi Tim,

Really appreciate the answer, that helps a lot! Luckily, we do have RAMP as well. I will be sure to check it out, thank you very much!
Post Reply