Page 1 of 1

Using Long Field Names with TR9

Posted: Thu Oct 23, 2014 5:13 am
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

Re: Using Long Field Names with TR9

Posted: Thu Oct 23, 2014 4:02 pm
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.

Re: Using Long Field Names with TR9

Posted: Tue Oct 28, 2014 11:39 am
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.