Using Long Field Names with TR9

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Using Long Field Names with TR9

Post by dieter »

Hello,
the alias function in the Visual Designer for using long field names is very cool. In masks without subfiles it is very easy to use. For a format i only have to declare a data structure with *ALL. But if i have a subfile in my format, i have to use two extra data structures: one data structure with *input and one data structure with *output. It would be much easier if i could use only a single structure for the subfile with *ALL. I know that this is not possible because of the restrictions in RPG. But i have read that with the new technology refresh 9 IBM will relax the rules for input and output operations. IBM says that with TR9 input and output operation can use a data structure with *ALL. But the restriction is that the input and output buffer must have the same layout.

My question is: Does the input and output buffer have the same layout in ProfoundUI and can i use "*all" with TR9 for subfiles in ProfoundUI display files?

Dieter
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Using Long Field Names with TR9

Post by Scott Klement »

Yes, the buffers should be the same. I haven't had the chance to try it out yet, but I think subfiles will work fine with an *ALL DS.
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Using Long Field Names with TR9

Post by dieter »

I tried out to use long field names wih the relaxed rules. It works fine. It is now much simpler to use long field names with subfiles.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests