|
|
This course is aimed at programmers who are developing or maintaining RPGLE application programs. This course covers the new techniques available in RPGLE, making only reference to the legacy coding available in source type RPG. During the course Sequential updates and Report programs will be designed and developed to put the RPGLE into practice.
Delegates should ideally have attended the systems facilities and program design courses prior to attending this course. It is expected that delegates will have a working knowledge of PDM and SEU and a basic understanding of DDS, object and libraries.
• DataBase Review
• Physical & Logical File, external definition
• Interrogation of the format and relationships of an existing database
• Creating additional logical views
• Tools available for viewing data
• CPYF command
• The Development progress
• RPG-Program structure
• H-Spec and F-Spec coding
• RPG v RPGLE source type
• fixed v free-format code
• Edit, compile and run process
• Compiled program code review
• Finding errors in source code when compile fails
• Definition of the terms RPG, ILE, OPM, SEU, PDM
• Sequential File Processing
• Operation codes: DOW, EVAL, CLOSE, READ, UPDATE, RETURN
• Built in Functions: %TRIM, %FIELDS, %EOF
• Sequential v Random file processing
• Intercepting end of file condition
• Basic sequential file processing program
• Renaming variables from external file definitions [PREFIX & RENAME]
• More Operation Codes & BIF’s
• IF, ELSE, ELSEIF, SELECT, WHEN, OTHER
• Operators AND OR NOT
• SETLL, DELETE
• Arithmetic BIF’s and operation codes
• Operational Extenders (h,r,m,e)
• Use BIF’s: %DEC, %DECH, %ERROR, %EQUAL
• H-Spec Keywords: EXPROPTS, TRUNCNBR
• Data Specifications
• Internal Variable definition
• Keywords INZ, LIKE
• BIF’s [%trim, %char, %editc, %sst]
• figurative constants [*BLANK, *ZEROS]
• Legacy eval options & EVALR
• Parameters: Main procedure interface and prototype
• External Print File Definition
• Using DDS to create ‘prtf’
• Relationship between Print file and Report program
• CHGPRTF and OVRPRTF CL-commands
• Report program with Sub-total logic
• Data output (Report) Program design
• Operation codes: WRITE, CHAIN, CLEAR, BEGSR, EXSR
• BIF: %FOUND
• Print File specification
• Intercepting Page overflow
• Using Conditioning indicators on device files
• Using and Indicator Data structure
• Flexible File Handling
• Prototyped call: CALLP
• QCMDEXC
• SETLL,SETGT,READE,REDPE,READPE,READP,OPEN
• Legacy op codes: KLIST,KFLD,
• BIFs %OPEN()
• F-Spec keywords EXTFILE, USROPN
• Use of OVRPRTF from within an RPG Program
• Multiple spool file entries from one print file and one program
• Screen Design
• Code a display file using SDA
• Commonly used Display File DDS keywords
• Interface between file & program
• Enquiry Program
• Structure logic and coding
• Including additional screens
• DOU, EXFMT and WRITE
• F-Spec for a display file
• Control and arrest the path of function keys,
• Windows in Display Files
• SDA and DDS for Windows in Display Files
• Use of a window in an RPG program
• Linking programs together using prototyped calls
• File Maintenance and Validation
• Structure Logic for a basic file maintenance interactive program
• Record locking concepts
• Intercepting locked record errors
• Validation routines
• Overriding DDS validation
• Interactive Source Debug
• Enable a program for debug
• Start debug (STRDBG)
• Set break points and check variables
• Track program logic
To complete training in RPGLE, the RPG Interactive and Subfile Programming course (ISRPS) should be considered. Also Embedded SQL (ISSQE) and possibly ILE Fundamentals (ISILE). Note the Interactive SQL course (ISSQI) is a prerequisite for Embedded SQL.
| 2012 | ||||||||||||
| Public schedule | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
| Northampton | 23 | 23 | 10 | |||||||||
We can run this course just for you - at our locations, a local hotel, or on your site. Please ask for details. |
||||||||||||
Tel: 0845 8672394 | Email:
training@sierra.co.uk