Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the difference between copybooks and subprocedures in as400?

1406


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...

1937


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1242


How to call one program from another program in RPG? please help me with the code

1789


What is the purpose of record level identifier?

1169


what are the key words you must use when using a subfile?

1235


How can we override a file during runtime in rpg?

1245


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

1206


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.

6625


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1291


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1204


How can we know running job is batch or interactive?

1181


what is the use of sflnxtchg?

1314


how do I declare a table or array in rpg iv?

1227


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

2551