Windows Subfile
From a Subfile, can I make a “call” to a window subfile?
Answer Question
| May 21, 2013 12:45 PM
AS/400, RPGLE, Subfile
From a Subfile, can I make a “call” to a window subfile?
Position to in load all subfile
I have done a position to in a load all subfile by checking if the position to field is not empty, then chain the file with that key and display records from there onwards. But am facing this issue, after the subfile is displayed, I am not able to do a page up. It gives [...]
Answer Question
| December 6, 2012 10:33 AM
Subfile
I have done a position to in a load all subfile by checking if the position to field is not empty, then chain the file with that key and display records from there onwards. But am facing this issue, after the subfile is displayed, I am not able to do a page up. It gives [...]
AS/400
Can we read a record in reverse order using READP otherwise what is the use of READP and READPE ?
Answer Question
| August 18, 2012 6:29 AM
Subfile, subfile keyword
Can we read a record in reverse order using READP otherwise what is the use of READP and READPE ?
AS400
Hi.. i have 200 length of character variable(for ex Address)as a field name. I want to use this in a subfile. Is it possible? How ? yes ,by using sflfold option
Answer Question
| June 28, 2012 5:07 AM
Display File, Subfile
Hi.. i have 200 length of character variable(for ex Address)as a field name. I want to use this in a subfile. Is it possible? How ? yes ,by using sflfold option
SFLDSPCTL
What is the use of SFLDSPCTL, can I display a subfile without the control record format values, example is it possible to dislpay the subfile without the Main heading and the subfile fields heading which I have coded in the control record format?
Answer Question
| May 14, 2012 11:39 AM
SFLDSPCTL, Subfile
What is the use of SFLDSPCTL, can I display a subfile without the control record format values, example is it possible to dislpay the subfile without the Main heading and the subfile fields heading which I have coded in the control record format?
retrieve library list
how to retrieve library list when i pressed f4 in a field and is field has *all the it fetch all library listed in subfile
Answer Question
| April 17, 2012 11:45 AM
RPGLE, Subfile
how to retrieve library list when i pressed f4 in a field and is field has *all the it fetch all library listed in subfile
AS400
Hi all… How to manage the PageDown and PageUp function in SFLSIZ=SFLPAG subfile..? If anybody have the sample codes for this please share it… Thanks.
Answer Question
| March 6, 2012 7:47 AM
Subfile
Hi all… How to manage the PageDown and PageUp function in SFLSIZ=SFLPAG subfile..? If anybody have the sample codes for this please share it… Thanks.
How to read from a subfile and copy the data into a PF
I have a subfile which is load-all.I have a function key (eg: F6).On pressing F6,i want data from subfile to be written into a PF.How to do this in RPGLE.Please give me a pseudocode if possible or steps.
Answer Question
| October 28, 2011 1:29 PM
RPG ILE, Subfile
I have a subfile which is load-all.I have a function key (eg: F6).On pressing F6,i want data from subfile to be written into a PF.How to do this in RPGLE.Please give me a pseudocode if possible or steps.
Max size of a subfile
wat is the max of size of sub file? what should i do if i need more than 10k.
Answer Question
| March 31, 2012 7:53 AM
AS/400 Subfiles, Subfile, Subfile Record Number
wat is the max of size of sub file? what should i do if i need more than 10k.
COBOL/400 subfile single page load(page by page load)
Hi! can any one give me sample code of cobol/400 program which loads a subfile records page by page. My problem here is I am able to code page by page records loading from a PF but when the Subfile is dispalyed it is not properly displaying the pages. Fro example after loading and displaying [...]
Answer Question
| March 31, 2012 8:10 AM
COBOL, COBOL/400, iSeries, Subfile, V5R3
Hi! can any one give me sample code of cobol/400 program which loads a subfile records page by page. My problem here is I am able to code page by page records loading from a PF but when the Subfile is dispalyed it is not properly displaying the pages. Fro example after loading and displaying [...]
physicalfile records updation in subfile
i have created one subfile and records are also dsplayed ,but i want modify one record three times but i want second time modification record value ,so how to acess that record value? please give me example program and subfile desion.
Answer Question
| July 9, 2011 1:34 PM
AS/400, Physical File, RPGLE, Subfile
i have created one subfile and records are also dsplayed ,but i want modify one record three times but i want second time modification record value ,so how to acess that record value? please give me example program and subfile desion.
Color attribute lost in readc/update of subfile record.
I have a subfile that displays sales order records. If the order is a direct ship, the order number is displayed in turquoise. The color is controlled by an indicator that is set on when the records are loaded to the subfile. The subfile record is defined with keyword SFLNXTCHG and the user has options [...]
Answer Question
| June 1, 2011 8:55 PM
iSeries V6R1, READC, SFLNXTCHG, Subfile
I have a subfile that displays sales order records. If the order is a direct ship, the order number is displayed in turquoise. The color is controlled by an indicator that is set on when the records are loaded to the subfile. The subfile record is defined with keyword SFLNXTCHG and the user has options [...]
COBOL SubFile Processing
Hello All. I am sure that this question has already been answered somewhere but I am not able to find the answer so please bear with me. My DDS contains 4 records 1) MAP1 RECORD 2)MAP1S SFL 3)MAP1C SFLCTL 4) MAP1S MAP2 RECORD Map1 contains fields that are used to filter the results to be [...]
Answer Question
| May 26, 2011 5:28 PM
AS/400 Subfiles, AS400 - COBOL, COBOL, Subfile
Hello All. I am sure that this question has already been answered somewhere but I am not able to find the answer so please bear with me. My DDS contains 4 records 1) MAP1 RECORD 2)MAP1S SFL 3)MAP1C SFLCTL 4) MAP1S MAP2 RECORD Map1 contains fields that are used to filter the results to be [...]
Subfile code for AS/400
In Subfile, OPT ShipQuantity QuantityToShip Item# CustomerOrder# ___ ____________ 100 ABC1 CO100010 ___ ____________ 10 WQE1 CO100010 This is my SFL Records, Here 2 items,same CustOrder, Qty to ship is 100 & 10,So user can give SHIPQTY <=100 for item(ABC1) and second item wqe1 as SHIPQTY <=10 Selling Price is 100… I have entered 5 for [...]
Answer Question
| June 10, 2011 11:36 AM
AS/400, AS/400 Subfiles, RPG, Subfile
In Subfile, OPT ShipQuantity QuantityToShip Item# CustomerOrder# ___ ____________ 100 ABC1 CO100010 ___ ____________ 10 WQE1 CO100010 This is my SFL Records, Here 2 items,same CustOrder, Qty to ship is 100 & 10,So user can give SHIPQTY <=100 for item(ABC1) and second item wqe1 as SHIPQTY <=10 Selling Price is 100… I have entered 5 for [...]
Problem in writing footer in windows subfile
hi if i write footer its not getting displayed… write control write footer exfmt control.. i hv coded lik above pls rep as soon as possible
Answer Question
| April 27, 2011 11:10 AM
AS/400 Subfiles, RPG IV, Subfile
hi if i write footer its not getting displayed… write control write footer exfmt control.. i hv coded lik above pls rep as soon as possible
Error handling in as/400 subfile options
In my Subfile,if i entered invalid Otions,i should get the reverse image on my field(Option),how is it possible… if i use reverse image indicator for that field,i am getting for all the records as reverse image
Answer Question
| May 2, 2011 1:52 PM
AS/400 Subfiles, RPG/400 Subfile, Subfile
In my Subfile,if i entered invalid Otions,i should get the reverse image on my field(Option),how is it possible… if i use reverse image indicator for that field,i am getting for all the records as reverse image
Printer file in AS/400 subfile
[strong]Hi, I need to generate a separate spool file,I have 10 records displayed in subfile,if i enter option 6 in subfile,for five records,these five records should generate a separate spool file… each record separate spool file[/strong]
Answer Question
| April 7, 2011 7:24 AM
AS/400 printing, AS/400 Spool Files, AS/400 Subfiles, Subfile
[strong]Hi, I need to generate a separate spool file,I have 10 records displayed in subfile,if i enter option 6 in subfile,for five records,these five records should generate a separate spool file… each record separate spool file[/strong]
Subfile sort
I have a subfile program for updating, creating, and displaying item information the user can select from to create, view or update detail. The subfile shows item number, description, etc from my main file (i’ll call itemnum1)and a vendor item number from an auxiliary file (itemnum2). My question is the users want to be able [...]
Answer Question
| April 8, 2011 8:08 PM
SQL Subfile, Subfile
I have a subfile program for updating, creating, and displaying item information the user can select from to create, view or update detail. The subfile shows item number, description, etc from my main file (i’ll call itemnum1)and a vendor item number from an auxiliary file (itemnum2). My question is the users want to be able [...]
Mouse & button use in Window subfile
i want create a window subfile, i want use the button for back and next page(program) not use any key like F1, F2 or F12 only button use for any action and i want select the subfile record by the mouse not by any keyboard key like page up or page down, only by mouse [...]
Answer Question
| February 21, 2011 5:38 PM
AS/400 Subfiles, Subfile, Subfile Record Format
i want create a window subfile, i want use the button for back and next page(program) not use any key like F1, F2 or F12 only button use for any action and i want select the subfile record by the mouse not by any keyboard key like page up or page down, only by mouse [...]
Highest RRN in a Subfile
Does anyone have the positions for the highest RRN on a Subfile? This was found in the old CPF programmer’s guide a hundred years ago. It was right after the Lowest RRN currently displayed on the subfile. This info comes from the INFDS. Are there examples?
Answer Question
| December 25, 2011 6:54 PM
AS/400, INFDS, RPG, RRN, Subfile
Does anyone have the positions for the highest RRN on a Subfile? This was found in the old CPF programmer’s guide a hundred years ago. It was right after the Lowest RRN currently displayed on the subfile. This info comes from the INFDS. Are there examples?





