the rpg dude on open display file technology for your ibm i - drag & drop reference fields
DESCRIPTION
RPG is a time tested development language. Open Access for RPG is supported by IBM and IBM i as an integral component to expanding business value and success. looksoftware and RPG Pioneer Pascal Polverini amongst other platform experts have developed Open Display File Technology to power your mobile and application modernization efforts on IBM i. Navigate through the DB and Drag & Drop fields to directly design fields with their definition and also label onto the display in this episode.TRANSCRIPT
The RPG Dude
Take a seat while the meeting starts…
and Open Display Files
Pascal Polverini
3Drag & Drop Reference Fields
RPG preamble
To design an interactive program you have to create a display and then create a RPG pgm to reference it
1
You can use SDA, RDp or a third party tool to design the display
You can use PDM or RDp to code the RPG
2
3
RPG preamble To design the display:
• You can design a display within a 5250 environmentOr
• You can design a rich open display (mobile, browser, desktop)
In 5250 environment, the design possibilities are limited and a DDS format is directly produced for the display description.
In open environment, the design possibilities are wider as open formats can be used for the display description to incorporate rich UI elements and capacities.
RPG preambleReference field in your display
5250 DSPF
Reference Field
Field definition
Open DSPF
Reference Field
Field definition
and description
RPG preambleReference field in your display
Open DSPF
Reference Field
Field definition
and description
RPG codegenerated
Read ref_fileChain ref_file
Now, let’s talk aboutThe RPG Dude
-and particularly aboutHis Open display file
perspective
The RPG Dude
You remember him…
Still the same with so many applications to maintain and to develop…
The RPG Dude
Here is his boss, who adores references!!
In any field!
The RPG Dude
Now, our RPG Dude would like to:
1. Navigate through the
DB 2. And Drag & Drop
fields…
…to directly design fields with their definition and also label onto the display.
!
The RPG Dude
All of this, without having to distort reality…
The RPG Dude
This is not him?! Is this his sister?
Nope…but let’s say yes!
Or to charm anyone…
The RPG Dude
Could a solution exist?
Take a big breath!
Drag & Drop reffld
Navigate or select library/file then get field and label or columns heading with a simple Drag & Drop
Note that key fields are marked in the DB
ref!
You will see!
Why?
The RPG Dude
The RPG DudeRPG code
All this code is automatically generated?
Yes, and here you can see an example of where the external
DB keys ref can be used!
The RPG Dude
And now, our RPG dude has a happy life.
The RPG Dude
“Thank you looksoftware!”
He just sent us a postcard.
The RPG Dude
I am convinced this is a TV show now!
Learn more about Open Display Files:
Learn about our solution with Open Display Files: http://go.looksoftware.com/version-101-info-page-slideshare
Obtain a free assessment on your IBM i : http://go.looksoftware.com/assessment-odf-slideshare