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

Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


wat is the difference between dataarea and data queue?

5 Answers   Airtel, Four soft, Shahi Exports,


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,


what is program status data structure?

1 Answers   IBM,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  






what is the rpg system?

0 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  


what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

2 Answers   IBM, Patni,


How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


What is the length of Signature?

3 Answers   UST,


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

5 Answers  


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

0 Answers  


Categories