Hi *all,
since the ne ProfoundUI- Version you can use long names for the variables in die Designer (Alias).
But how i can use then in my RPG-program? with normal DDS-Tables und SQL-Tables there´s no problem, but how about aliases in dspf´s?
thanks your your help
using long names in DSPF
-
- New User
- Posts: 9
- Joined: Wed May 22, 2013 8:09 am
- First Name: Andre
- Last Name: Cimbal
- Company Name: Dirk Rossmann GmbH
- State / Province: Outside Canada/USA
- Country: Germany
- Contact:
- 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: using long names in DSPF
When you switch on the option to allow long field names (in the toolbar), the designer will automatically create ALIAS keywords in the DDS for your long field names.
The concept is then identical to using them on database tables -- the designer is just automatically putting in the ALIAS keywords for you. To RPG, it looks the same as a database table that you coded the keywords on manually.
There's a good article from Jon Paris and Susan Gantner on general usage of ALIAS names here:
http://www.ibmsystemsmag.com/ibmi/devel ... RPG_Alias/
Have a look esp. at page 2 for a very convenient method using data structures to have the compiler automatically bring in the long field names. You can then use this data structure to reference the fields, and also on the I/O operations as shown in the example. This technique requires OS release 7.1.
The concept is then identical to using them on database tables -- the designer is just automatically putting in the ALIAS keywords for you. To RPG, it looks the same as a database table that you coded the keywords on manually.
There's a good article from Jon Paris and Susan Gantner on general usage of ALIAS names here:
http://www.ibmsystemsmag.com/ibmi/devel ... RPG_Alias/
Have a look esp. at page 2 for a very convenient method using data structures to have the compiler automatically bring in the long field names. You can then use this data structure to reference the fields, and also on the I/O operations as shown in the example. This technique requires OS release 7.1.
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: using long names in DSPF
I also want to point out that Alex Roytman and I will actually be explaining and demoing this functionality in our upcoming webinar "See What i Can Do With Modern RPG Development" on February 12th, 2014. You can register here https://www2.gotomeeting.com/register/207407002
-
- 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 names in DSPF
Hello,
Brian wrote that he and Alex Roytman would hold a webinar demoing the use of long field names. Unfortunately the webinar is over. Do you have a copy of this webinar? Can you make this copy available for download?
Or maybe even better do you have a simple example for using long field names with ProfoundUI?
I have no experiences with alias names. In the RPG reference i see that with V7.1 the new keyword ALIAS is introduced. Is this helpful for using long field names?
Maybe i can just explain what i want to achieve with long names:
Normally the 10 character names are ok for me. But in Profound Screens we often need to set attributes for fields. E.g. we habe the field "bs_number" in the screen. Then it would be very nice, if we could name the visibilty attribute for this field "bs_number_visbible" or "bs_number.visible". What must i do in my RPG Programm to do this? I think i know what i have to do in the Visual Designer. But i don't know the special coding in RPG.
Thank you in advance.
Dieter
Brian wrote that he and Alex Roytman would hold a webinar demoing the use of long field names. Unfortunately the webinar is over. Do you have a copy of this webinar? Can you make this copy available for download?
Or maybe even better do you have a simple example for using long field names with ProfoundUI?
I have no experiences with alias names. In the RPG reference i see that with V7.1 the new keyword ALIAS is introduced. Is this helpful for using long field names?
Maybe i can just explain what i want to achieve with long names:
Normally the 10 character names are ok for me. But in Profound Screens we often need to set attributes for fields. E.g. we habe the field "bs_number" in the screen. Then it would be very nice, if we could name the visibilty attribute for this field "bs_number_visbible" or "bs_number.visible". What must i do in my RPG Programm to do this? I think i know what i have to do in the Visual Designer. But i don't know the special coding in RPG.
Thank you in advance.
Dieter
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: using long names in DSPF
Dieter,
The webinar can be found on our website at http://www.profoundlogic.com/compevents.rpgsp
It is titled "See What i Can Do with Modern RPG Development". The demo in that webinar demonstrates using the ALIAS keyword in conjunction with long field names in your Rich Display File as well as other modern techniques.
The webinar can be found on our website at http://www.profoundlogic.com/compevents.rpgsp
It is titled "See What i Can Do with Modern RPG Development". The demo in that webinar demonstrates using the ALIAS keyword in conjunction with long field names in your Rich Display File as well as other modern techniques.
-
- 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 names in DSPF
Thank you. I found the link. But i can not download the file because i have to fullfill your form with a valid US telephone number. I am from Germany.
I will try some other numbers.
Dieter
I will try some other numbers.
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 names in DSPF
OK!
i found a number which is Ok on your website. Sorry, it is not my number :-)
Dieter
i found a number which is Ok on your website. Sorry, it is not my number :-)
Dieter
Who is online
Users browsing this forum: No registered users and 1 guest