Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?

8 Answers  


Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.

4 Answers   IBM,


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


How would display prime numbers using CL program?

0 Answers   Hexaware,


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?

6 Answers  


What is file identifier where we can use?

0 Answers  


what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????

1 Answers   CTS,


How to index LF by relative record no (RRN)

1 Answers  


parameters cannot be passed in which one???

4 Answers   CTS,


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?

5 Answers  


can anybody explain significance of *loval setll with example code????

3 Answers   HSBC,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


Categories