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 |
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
can i use UPDDTA command in rpg program in which contains a file
how does the rpg element work?
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
what is ment by "MDT"