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’

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1304


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2189


can I touch the array during treatments?

750


How to declare the pull button in AS/400..

1870


what was the robotech rpg?

678






1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5386


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1883


are there any useful c runtime apis that I can call from rpg iv?

693


How to handle duplicate error handling in RPG?

1668


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2365


When it is desirable to describe files Internally?

1182


what is kids-rpg?

661


What is difference between bind by copy and bind by reference?

1718


how do I declare a minor?

707


what is *place and *auto keyword in prtf ?plz explain

2714