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
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 |
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 |
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 |
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????
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?
what is program status data structure?
how to display all the members records in a physical file without using ovrdbf?
what is the rpg system?
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)?
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?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
What is the length of Signature?
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
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