AS400 SUBFILE PDF

This was rather disappointing as RPGLE is over 21 years old , free format calculations 14 years old, even free format definitions RPG is in its third year. All of the examples I found looked overly complicated for a beginner, so I decided to create this post showing a simple subfile program written in modern RPG. The examples in this post are the way I would write a simple subfile program using totally free RPG. I am sure that my examples are not the way all other IBM i developers would write theirs.

Author:Faucage Arashilabar
Country:Namibia
Language:English (Spanish)
Genre:Technology
Published (Last):19 December 2012
Pages:460
PDF File Size:11.9 Mb
ePub File Size:16.38 Mb
ISBN:759-9-42739-461-5
Downloads:3772
Price:Free* [*Free Regsitration Required]
Uploader:Gubei



Problem solve Get help with specific problems with your technologies, process and projects. Read all the records in the subfile Search Share this item with your network: By John Kohan, Search Recently a Search He wrote: "I am creating a program with a data entry subfile that contains four fields. As the program reads each record, if there is an error the subfile gets redisplayed with the error highlighted. I want it to start at the top of the subfile beginning with RRN 1. See the sample below.

You can go into a standard "DO" loop reading the records in the subfile until you are done. Using this technique you will stop reading records when you reach the end of the subfile.

Be careful with expanded subfiles. This will read only the records that are currently loaded in the subfile. If you need to read records that were loaded due to a page down key after you chained to the subfile, you will need to process those records later. Personally, I have found this technique much easier than using subfile keywords. The code is simple and easy to maintain. More on this topic Want to get a subfile to display "More Display more than one subfile on the same screen A Search Retrieve the top record for each subfile Problem: "I am writing a screen program where two subfiles are shown on the screen at the same time.

I would like to retrieve the top subfile record for each subfile. I can get the lowest subfile record displayed for the subfile on the top part of the screen using the INFDS. Any suggestions? How can he do this? Several Search

INTRUZ STEPHENIE MEYER PDF

sponsored links

Problem solve Get help with specific problems with your technologies, process and projects. Read all the records in the subfile Search Share this item with your network: By John Kohan, Search Recently a Search

ELX50 MICROPLATE STRIP WASHER PDF

Read all the records in the subfile

.

CREATING MAGICKAL ENTITIES A COMPLETE GUIDE TO ENTITY CREATION PDF

SFLLIN (Subfile Line) keyword for display files

.

LAS 7 SEMILLAS DAVID FISCHMAN PDF

.

Related Articles