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 |
How do you code file / field renames in ILE RPG?
can anybody explain significance of *loval setll with example code????
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.
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How to sort an array in descending in RPG
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How do I read records from Subfile? what is the purpose of READC explain with example?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
what do you mean by SESSION/DEVOCE ERROR?
Errors in Sql query will be in which state?