SlideShare a Scribd company logo
1 of 19
Download to read offline
Graphical RPG Framework for IBM i 
SilverDev Tutorial 
How to Build a Graph in IBM i Applications?
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 2/ 19 
Steps: 
1. Build a new program ...................................................................................... 3 
2. Screen preparation ......................................................................................... 6 
3. Graphs types ................................................................................................... 9 
4. Data insertion ............................................................................................... 11 
5. Compilation .................................................................................................. 14 
6. CLP Creation ................................................................................................. 15 
7. 1st deployment ............................................................................................ 17 
8. Result ............................................................................................................ 18
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 3/ 19 
1. Build a new program 
Launch SilverDev Designer and select a context from the menu Tools > Context.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 4/ 19 
Use the « + » icon to create your new program, 
in the Context tab 
This program will contain SQL : 
Select SVDSQLRPG type
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 5/ 19 
Your program appears on the Context tab list 
Double-click it to open it
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 6/ 19 
2. Screen preparation 
Put first a panel on the top of the screen: 
On the Components tab, click on the CPanel icon and place it on the screen with another click. 
To adapt it to the screen width, use the Align property on the Inspector tab: alTop value.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 7/ 19 
Add a button to load data. 
Use CButton Component, place it on the screen and name it ‘Load’ with its Caption property.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 8/ 19 
Now prepare the graph display area: 
Use a CChart Component and select alClient value on the Align property
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 9/ 19 
3. Graphs types 
Double click on the graph area 
This pop-up appears. 
Click the New icon, at the top left, to insert new series. 
You can choose your graph type on this dialog box. 
We select the pie one.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 10/ 19 
The form is ready to receive data. 
Be careful: This screen is a preview. It does not displays real data
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 11/ 19 
4. Data insertion 
We’ll use the Load button to load data. Select it on the form. 
On the Events tab, select and double click the OnClick event. 
The source code has been automatically updated
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 12/ 19 
We’ll use data on two tables from SilverDev demo library : 
On table contains a book list (sddmbks), the other one contains books themes (sddmthm). 
The graph will display the number of books of each theme. 
Declare your variables: 
And prepare SQL query :
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 13/ 19 
Before displaying query’s resulsts, we need to clear previous data so they don’t overlap 
Use sdSeriesClear function: 
Now you can add data with sdAddPie function 
Tip: To get more info on SilverDev functions, use F1.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 14/ 19 
5. Compilation 
Save and compile the form 
Then Generate your program on Compiling menu
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 15/ 19 
6. CLP Creation 
To deploy the app, you need a CLP. Let’s build it on SilverDev: 
Open a new member 
Add on it your library and call your RPG program :
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 16/ 19 
Save the CLP 
And compile it.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 17/ 19 
7. 1st deployment 
Launch MyDesk and right click where you want to make your application available. Then, choose « New application » 
Fill the dialog box with the application title, the file name and the call command. 
On next screen, select the app authorizations.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 18/ 19 
8. Result 
You can now launch your application and click the Load button to load data:
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 19/ 19 
More info on www.silverdev.com 
EXPERIA Europe 
4, rue L.Beridot 
Les jardins d'Epione 
38500 VOIRON - FRANCE 
www.experia.com 
info@experia.com

More Related Content

Viewers also liked

Matchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewMatchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewGary Young
 
Elemense Overview
Elemense OverviewElemense Overview
Elemense OverviewGary Young
 
Certification Gl
Certification   GlCertification   Gl
Certification Glhengtong
 
Certification Dnv
Certification   DnvCertification   Dnv
Certification Dnvhengtong
 
Certification Ccs
Certification   CcsCertification   Ccs
Certification Ccshengtong
 
Certification Bv
Certification   BvCertification   Bv
Certification Bvhengtong
 
Certification Lr
Certification   LrCertification   Lr
Certification Lrhengtong
 
Hengtong Presentation India Market 29.11
Hengtong Presentation   India Market 29.11Hengtong Presentation   India Market 29.11
Hengtong Presentation India Market 29.11hengtong
 

Viewers also liked (8)

Matchtech Group Plc Group Overview
Matchtech Group Plc Group OverviewMatchtech Group Plc Group Overview
Matchtech Group Plc Group Overview
 
Elemense Overview
Elemense OverviewElemense Overview
Elemense Overview
 
Certification Gl
Certification   GlCertification   Gl
Certification Gl
 
Certification Dnv
Certification   DnvCertification   Dnv
Certification Dnv
 
Certification Ccs
Certification   CcsCertification   Ccs
Certification Ccs
 
Certification Bv
Certification   BvCertification   Bv
Certification Bv
 
Certification Lr
Certification   LrCertification   Lr
Certification Lr
 
Hengtong Presentation India Market 29.11
Hengtong Presentation   India Market 29.11Hengtong Presentation   India Market 29.11
Hengtong Presentation India Market 29.11
 

Similar to [Tutorial] Build a graph in RPG with SilverDev

Advance Computer Architecture
Advance Computer ArchitectureAdvance Computer Architecture
Advance Computer ArchitectureVrushali Lanjewar
 
Build your first android mobile app
Build your first android mobile appBuild your first android mobile app
Build your first android mobile appekipaco
 
Android Programing Course Material Labs
Android Programing Course Material LabsAndroid Programing Course Material Labs
Android Programing Course Material LabsShady Selim
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...WithTheBest
 
Stat planet - tutorial
Stat planet - tutorialStat planet - tutorial
Stat planet - tutorialSathya Seelan
 
EC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab ManualEC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab Manualtamil arasan
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...NicheTech Com. Solutions Pvt. Ltd.
 
P.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualP.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualDavid Wise
 
AT&T Hack Dallas Node-RED Tutorial
AT&T Hack Dallas Node-RED TutorialAT&T Hack Dallas Node-RED Tutorial
AT&T Hack Dallas Node-RED TutorialStefania Kaczmarczyk
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startednoahjamessss
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedgovendaagoovenda
 
Mapping%20Skills%20Tutorial
Mapping%20Skills%20TutorialMapping%20Skills%20Tutorial
Mapping%20Skills%20Tutorialtutorialsruby
 
Mapping%20Skills%20Tutorial
Mapping%20Skills%20TutorialMapping%20Skills%20Tutorial
Mapping%20Skills%20Tutorialtutorialsruby
 
DSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfDSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfROWELL MARQUINA
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...Andrey Karpov
 

Similar to [Tutorial] Build a graph in RPG with SilverDev (20)

Analytics with Power BI and R
Analytics with Power BI and RAnalytics with Power BI and R
Analytics with Power BI and R
 
Advance Computer Architecture
Advance Computer ArchitectureAdvance Computer Architecture
Advance Computer Architecture
 
Build your first android mobile app
Build your first android mobile appBuild your first android mobile app
Build your first android mobile app
 
Android Programing Course Material Labs
Android Programing Course Material LabsAndroid Programing Course Material Labs
Android Programing Course Material Labs
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
 
Stat planet - tutorial
Stat planet - tutorialStat planet - tutorial
Stat planet - tutorial
 
EC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab ManualEC6612 VLSI Design Lab Manual
EC6612 VLSI Design Lab Manual
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
 
P.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualP.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's Manual
 
AT&T Hack Dallas Node-RED Tutorial
AT&T Hack Dallas Node-RED TutorialAT&T Hack Dallas Node-RED Tutorial
AT&T Hack Dallas Node-RED Tutorial
 
APPIUM
APPIUMAPPIUM
APPIUM
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
Innovyze Infonet Manual
Innovyze Infonet ManualInnovyze Infonet Manual
Innovyze Infonet Manual
 
Mapping%20Skills%20Tutorial
Mapping%20Skills%20TutorialMapping%20Skills%20Tutorial
Mapping%20Skills%20Tutorial
 
Mapping%20Skills%20Tutorial
Mapping%20Skills%20TutorialMapping%20Skills%20Tutorial
Mapping%20Skills%20Tutorial
 
DSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfDSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdf
 
A d swincc15e
A d swincc15eA d swincc15e
A d swincc15e
 
Tutorial20
Tutorial20Tutorial20
Tutorial20
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
 

More from SilverDev by Experia

[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDevSilverDev by Experia
 
[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDevSilverDev by Experia
 
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDevSilverDev by Experia
 
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDevSilverDev by Experia
 
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapideSilverDev by Experia
 
Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?SilverDev by Experia
 
How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?SilverDev by Experia
 
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)SilverDev by Experia
 
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...SilverDev by Experia
 
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDevTemoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDevSilverDev by Experia
 
[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev DesignerSilverDev by Experia
 
[Tutoriel] SilverDev Wizard - français
[Tutoriel]  SilverDev Wizard - français[Tutoriel]  SilverDev Wizard - français
[Tutoriel] SilverDev Wizard - françaisSilverDev by Experia
 
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM iExperia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM iSilverDev by Experia
 
RPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec SilverdevRPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec SilverdevSilverDev by Experia
 

More from SilverDev by Experia (14)

[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutoriel] Créez un graph en RPG avec SilverDev
 
[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev[Tutorial] Crear gráficos en RPG con SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev
 
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
 
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
 
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide[Tutoriel] SilverDev pour IBM i : Démarrage rapide
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
 
Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?Comment simplifier et améliorer l'interfaçage IBM i / PC?
Comment simplifier et améliorer l'interfaçage IBM i / PC?
 
How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?How to simplify IBM i / PC exchanges with SilverDev?
How to simplify IBM i / PC exchanges with SilverDev?
 
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
 
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
 
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDevTemoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
 
[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] Studio de développement RPG SilverDev Designer
 
[Tutoriel] SilverDev Wizard - français
[Tutoriel]  SilverDev Wizard - français[Tutoriel]  SilverDev Wizard - français
[Tutoriel] SilverDev Wizard - français
 
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM iExperia annonce la nouvelle version de SilverDev pour AS400 / IBM i
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
 
RPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec SilverdevRPG : Développez des applications graphiques avec Silverdev
RPG : Développez des applications graphiques avec Silverdev
 

Recently uploaded

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 

Recently uploaded (20)

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 

[Tutorial] Build a graph in RPG with SilverDev

  • 1. Graphical RPG Framework for IBM i SilverDev Tutorial How to Build a Graph in IBM i Applications?
  • 2. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 2/ 19 Steps: 1. Build a new program ...................................................................................... 3 2. Screen preparation ......................................................................................... 6 3. Graphs types ................................................................................................... 9 4. Data insertion ............................................................................................... 11 5. Compilation .................................................................................................. 14 6. CLP Creation ................................................................................................. 15 7. 1st deployment ............................................................................................ 17 8. Result ............................................................................................................ 18
  • 3. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 3/ 19 1. Build a new program Launch SilverDev Designer and select a context from the menu Tools > Context.
  • 4. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 4/ 19 Use the « + » icon to create your new program, in the Context tab This program will contain SQL : Select SVDSQLRPG type
  • 5. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 5/ 19 Your program appears on the Context tab list Double-click it to open it
  • 6. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 6/ 19 2. Screen preparation Put first a panel on the top of the screen: On the Components tab, click on the CPanel icon and place it on the screen with another click. To adapt it to the screen width, use the Align property on the Inspector tab: alTop value.
  • 7. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 7/ 19 Add a button to load data. Use CButton Component, place it on the screen and name it ‘Load’ with its Caption property.
  • 8. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 8/ 19 Now prepare the graph display area: Use a CChart Component and select alClient value on the Align property
  • 9. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 9/ 19 3. Graphs types Double click on the graph area This pop-up appears. Click the New icon, at the top left, to insert new series. You can choose your graph type on this dialog box. We select the pie one.
  • 10. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 10/ 19 The form is ready to receive data. Be careful: This screen is a preview. It does not displays real data
  • 11. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 11/ 19 4. Data insertion We’ll use the Load button to load data. Select it on the form. On the Events tab, select and double click the OnClick event. The source code has been automatically updated
  • 12. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 12/ 19 We’ll use data on two tables from SilverDev demo library : On table contains a book list (sddmbks), the other one contains books themes (sddmthm). The graph will display the number of books of each theme. Declare your variables: And prepare SQL query :
  • 13. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 13/ 19 Before displaying query’s resulsts, we need to clear previous data so they don’t overlap Use sdSeriesClear function: Now you can add data with sdAddPie function Tip: To get more info on SilverDev functions, use F1.
  • 14. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 14/ 19 5. Compilation Save and compile the form Then Generate your program on Compiling menu
  • 15. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 15/ 19 6. CLP Creation To deploy the app, you need a CLP. Let’s build it on SilverDev: Open a new member Add on it your library and call your RPG program :
  • 16. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 16/ 19 Save the CLP And compile it.
  • 17. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 17/ 19 7. 1st deployment Launch MyDesk and right click where you want to make your application available. Then, choose « New application » Fill the dialog box with the application title, the file name and the call command. On next screen, select the app authorizations.
  • 18. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 18/ 19 8. Result You can now launch your application and click the Load button to load data:
  • 19. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 19/ 19 More info on www.silverdev.com EXPERIA Europe 4, rue L.Beridot Les jardins d'Epione 38500 VOIRON - FRANCE www.experia.com info@experia.com