1. iEfficiency
Testimonial
Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi / AS400
iEfficiency Testimonial - Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini (Faq400.com)1
Castello di Rivalta
20 Ottobre 2016
3. 3iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
1 - Strumenti
Rdi
Rational
Developer for i
Produttività + 20 %
6 Ore x 48 Settimane = 8.000 Euro
4. 4
iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
5. 5iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
2 - RPG Free
e
SubProcedures
Leggibilità
Auto Documentante
Simile ad altri
linguaggi
In evoluzione
Ottimo per la
Business Logic
6. 6iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
2 - RPG Free
e
SubProcedures
Indentazione codice
Nome Variabili/Procedure
No indicatori ma variabili
No GOTO
+ Subprocedures
- Subroutines
Service Programs
7. 7iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
3 - SQL
Embedded
Leggibilità
LVLCHK(*NO)
Più generale con gli altri
linguaggi
Gestione Nulls
Lettura di DB non DB2
SELECT *
FROM World
WHERE Someone
LIKE ‘%You%’
…
No results !
8. 8iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
3 - SQL
Embedded
Esempi
exec sql
select * into :mytableds
from mytable
where fld1=’X’ and fld2 =’Y’;
exec sql
update mytable
set fieldx=’X’
where field1=’X’;
exec sql
declare mycursor cursor for
select * from mydoc
where datadoc>:datainizio
order by datadoc;
exec sql
open mycursor;
dow 1=1;
exec sql fetch mycursor into :mydocds;
if sqlod<>0;
exec sql close mycursor
leave;
endif;
9. 9iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
4 - DDL vs
DDS
Data Definition
Language
vs
Data Description
Language
+ Standard
+ Data integrity (controlli in insert e
non in read … quindi
performances, constraints)
+ Performances (64k pages vs 8k
pages)
+ Funzionalità (views con sum, udf,
udtf)
+ System Openness: tool esterni
10. 10iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
4 - DDL vs
DDS
Esempi
Iseries Navigator:
funzione genera SQL
API QSQGNDD
Create or replace table Orders
(OrderNo smallint not null
(start with 100 increment by 1)
CustNo varchar,
OrderDate date)
Create index Orders_idx1
on Orders (CustNo asc, OrderDate
Asc)
11. 11iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
5 - Web
Services
Perchè Web Services
12. 12iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
5 - Web
Services
Pubblicare un
programma / service
program RPG/Cobol
IBM Web Administration for i
HTTP://192.168.x.x:2001/HTTPAdmin
13. 13iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
5 - Web
Services
Consumare un Web
Service da RPG
API IBM WSDL2RPG per SOAP Web Services
con WSDSL
LIBHTTPAPI by Scott Klement per SOAP o
REST
HTTPGETCLOB / HTTPGETBLOB DB2 for i
Functions
XML : XMLTABLE, XMLPARSE, XML2JSON
JSON: JAYL by Scott Klement,
SYSTOOLS.JSON2BSON,
SYSTOOLS.BSON2JSON,SYSTOOLS.BSON_V
ALIDATE, JSON_VAL
14. 14iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
6 - Open
Source
5733OPS
15. 15iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
7 - PHP,
Node.js,
Ruby, Phyton
Non solo RPG / Cobol
Tiobe Index
Java 1°
Python 5°
Javascript 6°
PHP 7°
Cobol 24°
RPG 44°
16. 16iEfficiency Testimonial - Faq400.com
Strumenti e percorsi formativi per lo sviluppatore IBMi Roberto De Pedrini
Lo
sviluppatore
IBMi/AS400
deve tenersi
aggiornato !
Faq400.com e Formazione per
Sviluppatori IBMi / AS400
Corsi in Aula o nella tua azienda
Contatta : formazione@faq400.com