Wonder Club world wonders pyramid logo
×

ISeries and AS/400 RPG IV at Work Book

ISeries and AS/400 RPG IV at Work
ISeries and AS/400 RPG IV at Work, , ISeries and AS/400 RPG IV at Work has a rating of 3 stars
   2 Ratings
X
ISeries and AS/400 RPG IV at Work, , ISeries and AS/400 RPG IV at Work
3 out of 5 stars based on 2 reviews
5
0 %
4
0 %
3
100 %
2
0 %
1
0 %
Digital Copy
PDF format
1 available   for $99.99
Original Magazine
Physical Format

Sold Out

  • ISeries and AS/400 RPG IV at Work
  • Written by author Doug Pence
  • Published by Mc Press, October 2000
  • This book is practically mandatory for any RPG programmer. If you're a novice programmer, you will be able to learn from the experts how to do things right the first time. If you're a veteran, you will find fresh, new ideas and techniques that will help y
Buy Digital  USD$99.99

WonderClub View Cart Button

WonderClub Add to Inventory Button
WonderClub Add to Wishlist Button
WonderClub Add to Collection Button

Book Categories

Authors

Prefacexv
Chapter 1Performance Starts with Program Design1
A Thousand-Mile Journey Begins with a Single Step1
I/O and Its Effect on AS/400 Performance2
The Path You Choose Might Be the Most Important Part of Your Journey7
Logical Files Are a Valuable Tool, but Don't Overuse Them9
Blocking Data to Make the Most of I/O Processing9
Using SETOBJACC to Reduce I/O and Maximize Memory Usage11
Too Much of a Good Thing Can Kill You16
Reusing Deleted Records16
The RGZPFM Command17
The RGZPFFLTR Command19
Performance and the Dynamic Program Call19
ILE Performance Issues22
Reducing the Size of Your Programs25
Reducing Screen I/O in Your Interactive Programs26
Service Programs Can Affect Performance27
Do not Overlook the Obvious28
The Blame Game29
Performance, Performance, Performance29
Chapter 2Subfiles Belong in Every Programmer's Toolbox31
The Basics32
The Subfile Record Format (SFL) DDS33
The Subfile Control Record Format (SFLCTL) DDS34
Loading the Subfile38
The Relationship Between Subfile Size (SFLSIZ) and Subfile Page (SFLPAG)39
The Page Keys and Their Relationship to the Subfile40
Controlling Which Page of the Subfile You see First41
The Subfile End (SFLEND) Keyword43
Coding the "Customer Subfile" Display File45
Coding the "Customer Subfile" RPG Program48
Coding the State Lookup Window Subfile Display File53
Coding the State Lookup Window Subfile RPG Program54
Error Handling with a Message Subfile57
Using Search Fields in the Subfile Control Record Format60
Hooray for Subfiles!68
Chapter 3We Do Windows (and Menu Bars, Too)!69
How to Enhance Your Green Screens70
Hardware and its Effect on Enhanced DDS Applications71
My Screen Still Doesn't look Right72
The Menu Bar72
DDS Keywords for Coding the Menu Bar74
Coding RPG for Menu Bars and Pull-Down Menus79
Single-Choice, Pull-Down Menus81
Radio Push Buttons82
Multiple-Choice, Pull-Down Menus83
Pull-Down Menu Shortcut Keys85
Pull-Down Menu Accelerator Keys85
Controlling the Attributes of Available/Unavailable Choices86
Setting Pull-Down Menu Defaults87
To Menu Bar or Not to Menu Bar87
We do Windows87
Who Needs Windows?88
The Window Keyword89
System Rules for Automatic Window Placement91
Window Border Keyword91
Window Title Keyword92
Remove Window Keyword93
User Restore Display Keyword93
Windows and Response Time94
The System Request Window Program94
Scroll Bars and Subfiles99
GUI This, and GUI That99
Chapter 4Information Data Structures and Error Handling101
File Information Data Structure101
Field Definitions104
Program Status Data Structure116
Implementing the *PSSR Subroutine121
Information is Power127
Chapter 5Tips and Techniques for the RPG/400 Programmer129
Removing Leading Blanks (Left Justify)131
Translate (XLATE) Performs Single-Character Substitution within Character Strings131
Using Biton/Bitoff Operation Codes132
Using RTNDTA in File Maintenance133
Processing Multiple Views of the Same Database File135
Pass the Parameter, if You Please136
Using a RTNCOD Parameter Between Programs137
Using the Indicator Array138
Using Indicators as Field Names139
Retrieving the Program Name139
Using Multiple Format Files140
Localized Indicators141
Display Attributes without Indicators142
Using the Clear Op Code143
Soft Coding Function Keys144
Header Specification Compile Options146
The Header Specification and Its Effect on Debug146
Who Pulled the Trigger?147
A Diverse Arsenal Is Your Best Defense150
Chapter 6The Power of Command Processing APIs151
The What, the Why, and the How of Command Execute (QCMDEXC)152
Running OPNQRYF to Sort a Database File from within an RPG Program153
Overriding Printer Parameters from within an RPG Program155
Submitting a Job to the Job Queue from within an RPG Program158
QCMDEXC: An API for All Seasons162
The Command Processing (QCAPCMD) API162
C Function: System165
Prototyping the Call to QCMDEXC167
Command Performance167
Chapter 7Array and String Handling169
What Is an Array?169
What Would You Use an Array for?170
Array Basics170
The Runtime Array171
Using Runtime Arrays to Store and Accumulate Totals173
Sequencing Runtime Arrays for Output Operations175
Using Runtime Arrays to Format Data for Output179
The %ELEM Built-in Function Prevents Array Index Errors182
Runtime Array Handling RPG Op Codes183
The Compile-Time Array184
Alternative Definition of Arrays187
Arrays Can Be Very Dynamic189
String Handling Isn't Just for People with Yo-Yos Anymore189
Everybody Wants to Be a Cat193
Check, Please197
CHECKR Validates Character Strings from Right to Left198
Using the %TRIM Built-in Function to Remove Leading and Trailing Blanks198
Using the %TRIML Built-in Function to Remove Leading Blanks199
Removing Trailing Blanks200
Journey to the Center of the Earth201
Seek and Ye Shall Find--with Scan202
Substring (SUBST) Ties the Whole String-Handling Thing Together203
Translate (XLATE) Performs Single-Character Substitution Within Character Strings205
Final Words About Array and String Handling206
Chapter 8Data Structures, Data Areas, and the Local Data Area207
The Data Structure208
Data Areas220
The Local Data Area226
Using Externally Described Data Structures to Define Program-Described Data Files229
Using Data Structures to Reduce Program Parameters231
Multiple-Occurrence Data Structures and the Two-Dimensional Array232
Your RPG Treasure Chest237
Chapter 9System APIs239
What Is an API?240
Retrieve APIs242
Putting the Power of Retrieve APIs to Use242
The Optional API Error Code Parameter244
Using APIs to Retrieve Object Descriptions245
Checking for Objects Using the Retrieve Object Description (QUSROBJD) API248
Message APIs249
User Spaces256
List APIs259
Display Access Path Command262
Spool File APIs274
Program APIs for ILE286
Display Module Programs (DSPMODPGM)287
Working with Service Programs289
Encryption APIs291
Don't Worry, Be API!296
Chapter 10Tracking Down Problems297
Finding Debug in De Program297
Debug 101298
Debug Header Specifications299
In De Beginning300
Adding De Breakpoint301
De Conditional Breakpoint302
Debugging Service Programs303
Running De Program306
Displaying De Variable306
Using Debug to Decipher I/O Problems310
De Small Print310
Debugging Batch Jobs311
Journaling as a Debug Tool314
Job Logs and Problem Determination320
Solutions Are Best Found by Those Who Know How to Look for Them326
Chapter 11Tools for the Toolbox327
The Display Path (DSPPTH) Command328
The Display Field (DSPFLD) Command339
The Reorganize Physical File Filter (RGZPFFLTR) Command348
The Find Displaced Logical File (FNDDSPLF) Command355
The Work with Object Reference (WRKOBJREF) Command362
The Service Program Usage (SERPGMUSAG) Command377
The Module Usage (MODUSAG) Command384
The Work with Fields (WRKFLD) Command391
The Display File Description (DSPFILDSC) Command405
Scan Joblog (SCNJOBLOG) Command415
Find Source (FNDSRC) Command425
Final Words about Tools in the Toolbox435
Chapter 12Working with Date and Time Data Types437
The Date and Time Data Types437
It's Elementary438
What You See is Not Always What You Get!439
Apples and Apples440
Deciding on a Format440
From Soup to Nuts441
A Rose by Any Other Name443
Readin, Ritin, and Rithmatic445
What Is the Downside?445
Date Arithmetic449
Date Formatting451
Using Data Types to Format Output455
Date Conversion463
Data Type Performance469
The Dating Game472
Chapter 13ILE Concepts473
Modules474
Exports474
Imports475
Programs475
Binding476
Service Programs477
Binder Language478
The Commands478
Servicing the Service Program480
Cascading References481
Tips for Good Service481
Lip Service482
Activition Groups482
Scoping484
ILE Be Good485
Chapter 14ILE Procedures487
Subprocedures vs. Main Procedures488
Parameter Keywords491
Compiling502
Binding Directory503
Activation Group Considerations503
Putting Header Specifications into Your Programs504
The Subprocedure Addiction504
AppendixAbout the CD-ROM505
Transferring the Source509
Compiling the Power Tools510
Compiling the Rest of the Source510
Index513


Login

  |  

Complaints

  |  

Blog

  |  

Games

  |  

Digital Media

  |  

Souls

  |  

Obituary

  |  

Contact Us

  |  

FAQ

CAN'T FIND WHAT YOU'RE LOOKING FOR? CLICK HERE!!!

X
WonderClub Home

This item is in your Wish List

ISeries and AS/400 RPG IV at Work, , ISeries and AS/400 RPG IV at Work

X
WonderClub Home

This item is in your Collection

ISeries and AS/400 RPG IV at Work, , ISeries and AS/400 RPG IV at Work

ISeries and AS/400 RPG IV at Work

X
WonderClub Home

This Item is in Your Inventory

ISeries and AS/400 RPG IV at Work, , ISeries and AS/400 RPG IV at Work

ISeries and AS/400 RPG IV at Work

WonderClub Home

You must be logged in to review the products

E-mail address:

Password: