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

I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 Answers  


What is the difference between iter and do?

0 Answers  


1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


what is edit word and edit code

0 Answers   Cap Gemini,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,






how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


Can someone tell me tell me what is meant by message wait...?

1 Answers  


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


wat is curser?? and its types???

4 Answers   HSBC,


what is plat file?

6 Answers   Indian Infotech,


Categories