Anybody can explain the difference between SFLCLR & SFLINZ?

Answers were Sorted based on User's Feedback



Anybody can explain the difference between SFLCLR & SFLINZ?..

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

Anybody can explain the difference between SFLCLR & SFLINZ?..

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

Anybody can explain the difference between SFLCLR & SFLINZ?..

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

Anybody can explain the difference between SFLCLR & SFLINZ?..

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

Anybody can explain the difference between SFLCLR & SFLINZ?..

Answer / srini

one more differance is:

To avoid session device error by using SFLINZ.

Is This Answer Correct ?    3 Yes 3 No

Anybody can explain the difference between SFLCLR & SFLINZ?..

Answer / venkateshp

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

Anybody can explain the difference between SFLCLR & SFLINZ?..

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

Post New Answer

More RPG400 Interview Questions

How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


How to select highest score of each subject or how to select highest income of every month?

0 Answers  


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


What is the purpose of PUTOVR keyword?

2 Answers  


What is the difference Return and InLr?

3 Answers  


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


there is any limit to display the members in rpg400?

3 Answers  


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?

0 Answers   IBM,


Categories