what is EXCEPT command in rpg and use



what is EXCEPT command in rpg and use..

Answer / gagan44

The EXCEPT opcode is used to write the exception records.

Exceptional records are defined at O-spec with ‘E’ as record type.

Whatever exceptional fields have been defined inside the exception records will be processed during the c-spec calculation
If there are multiple entries for the same record name then they will be processed one by one.
EXCEPT can be used for printing a report and to partially update a physical

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


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

3 Answers   TCS,


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?

1 Answers   NetCracker,


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

1 Answers   IBM,


how can I tell when to replace the array?

1 Answers   IBM,


i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


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’

4 Answers   IBM,


what is the procedure and explain about real time scenario.

1 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


Categories