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 |
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...
wat is meant by hidden field , why it is used?
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
How to handle duplicate error handling in RPG?
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 ?
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
How to declare the more than one file in cl/400.
How can a screen field that has changed since the last output operation be detected?