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 |
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
what is file information data structure?
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
How do you know if a record exists without doing a READ and CHAIN?
what is the difference between the procedure and module in ILERPG?
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
what is batch debug in as400?