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 can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
How to select highest score of each subject or how to select highest income of every month?
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.
how to run only 10 modules of existing N modules in service program in RPGILE ?
What is the purpose of PUTOVR keyword?
What is the difference Return and InLr?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
there is any limit to display the members in rpg400?
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,
what is the use of sflnxtchg?