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 |
What would be the effect on the field where reverse image, underline and high intensity?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
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.....?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
how to check on which PF , the LF is dependant ?
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
what is EXCEPT command in rpg and use