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 |
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
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...........
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?
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
what do you mean by an input subfile, what are the keywords required?
what is the rpg system?
what is batch debug in as400?
How to select highest score of each subject or how to select highest income of every month?
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.....?
what is ment by "MDT"
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???