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

suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400

10 Answers   IBM, Tech Mahindra,


what is kids-rpg?

0 Answers   IBM,


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

5 Answers   CTS,






what do you mean by an input subfile, what are the keywords required?

0 Answers   IBM,


what is the rpg system?

0 Answers   IBM,


what is batch debug in as400?

3 Answers  


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

0 Answers  


Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


what is ment by "MDT"

2 Answers   TCS,


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


Categories