what is EXCEPT command in rpg and use
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 |
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
What is the purpose of record level identifier?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
How can we change element of compile time array?Can we do so
How to write record if no field or the field are different in physical file in rpgle ?
What is the purpose of FRCDTA keyword?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
How to create a key field for a logical file inside RPG?