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...


3. Given the DOS Specification below and the following
information:
• Indicator 50 is off
• No records have been written to the subfile
What will be the result if the EXFMT operation code is
performed on the record format CTLR?
A R SUBFL
A DESCRIP 101 6 1ODSPATR(UL)
A DFT(’NOT FOUND’)
A R CTLR SFLCTL(SUBFL)
A N50 SFLDSP
A SFLDSPCTL
A SFLINZ
A 67 SFIJEND
A SFLSIZ(13)
A SFLPAG(12)
A ACCOUNTNO 100 S 10
a.) Only AccountNo will display
b.) SUBFL will be initialized with 13 blank records
c.) An I/O exception error will occur
d.) The screen will display 12 records with ‘NOT FOUND’

Answers were Sorted based on User's Feedback



3. Given the DOS Specification below and the following information: • Indicator 50 is off • ..

Answer / naveen chanda joshi

I think, the answer is option D. If default value ('Not
Found') was not mentioned then it would have display 12
blank records..

Is This Answer Correct ?    7 Yes 1 No

3. Given the DOS Specification below and the following information: • Indicator 50 is off • ..

Answer / reecha

Hi ,
I m Reecha(HCL)



As we are trying to display SFL with empty records, it will
give "Session or device error" .One can control this
either using SFLEND keyword where in code u need to set
it on write the subfile and then setoff.

If this is not controlled then "Session or device error"
will come else empty sfile will be displayed

Is This Answer Correct ?    5 Yes 1 No

3. Given the DOS Specification below and the following information: • Indicator 50 is off • ..

Answer / shobhit

As SFLDSPCTL is specified and SFLDSP is off it will not
give the Session or Device error.

Is This Answer Correct ?    4 Yes 1 No

3. Given the DOS Specification below and the following information: • Indicator 50 is off • ..

Answer / srini

hi this srini


ans) B.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More RPG400 Interview Questions

What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


What is the purpose of record level identifier?

0 Answers  


How can you determine the number of characters in a variable?

3 Answers  


what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.

4 Answers   HCL,


1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


How many program bind in one module....

0 Answers  


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS

3 Answers   IBM,


Categories