Anybody can explain the difference between SFLCLR & SFLINZ?
Answers were Sorted based on User's Feedback
Answer / guest
SFLCLR - is used to just clear the subfile
SFLINZ - is used to clear the subfile and also initialize
the subfile records with its initial values.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / sivakumar y
continuation to Answers 1 & 2:
SFLINZ will be used only in case of input subfiles.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ram&
SFLCLR - is used to clear the subfile before load the
records from file .
SFLINZ - is used to clear the subfile and initialize the
defalut values .
e.g: for Numeric values '0',for Char 'blank spaces'.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / lakki
SFLCLR _ clears the subfile to load records in to it
SFLINZ - initialise your records by default and display the
records in to the subfile
(it initialise the number of records depends on your SFLSIZ)
note: once u clear the subfile you can load but once u
initialise the subfile you cannot load the subfile you can
load the subfile after the SFLSIZ member greater than 1
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / srini
one more differance is:
To avoid session device error by using SFLINZ.
| Is This Answer Correct ? | 3 Yes | 3 No |
SFLCLR is clear the toal subfile and inactive the all
therecord and you can wrie the recors to subfile thoseare
only active
SFLINZ is just gives the deful values to the fields of all
the records of subfile and all are active this will useful
only when u showing total subfile withou data
you cant write the data to subfile once you intilize the
data untill clear the subfile
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venkat
sflclr is a record level keyword on the subfile control record format .sflclr is clear the subfile before loading the records from datebase file into the subfile
sflinz:it is also a record level keyword on the subfile control record format .it also clear the subfile and initialize the some dafault values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
How do you code file / field renames in ILE RPG?
How do you do indexing in a physical file?
How to update selected fields from pf without using update opcode. How to read all member in Rpg-3,without using any cl command?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
Can an indexed file be accessed in arrival sequence in RPG?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?