Anybody can explain the difference between SFLCLR & SFLINZ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2041


what is the use of sflnxtchg?

794


what is the rpg system?

660


how can I tell when to replace the array?

689


How Chain operation copies the record's data to the input buffer for the program?

1068






1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

474


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5381


is this a rpg channel?

666


can I touch the array during treatments?

749


How to write record if no field or the field are different in physical file in rpgle ?

472


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

703


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1008


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

1281


do you use message subfiles? What are the necessary keywords required coding a message subfile?

678


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

712