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 use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?

7 Answers  


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


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

2 Answers  






I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....

1 Answers   HCL, Mind Tree,


What is a record lock error?

0 Answers   Wipro,


RPG/400 faqs?

1 Answers   HSBC,


what is the necessary keyword needed to scroll subfile records?

0 Answers   IBM,


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 Answers  


Categories