1.Can any body share me about thease opcodes with example
please.Im new for AS/400.Could u please tell me in real
Answer / sumit gupta
TESTN:- this opcode test whether the variable placed at
result field is numeric and return the high(HI) indicator
value as '1'. Rest LO and EQ will remain off.
Eval:- This opcode is applicable for only same type of
character. Eg:- if you want to move a character value to
numeric value then IT WILL THROUGH COMPILATION ERROR.
Bydefault, eval opcode will move from left. For eg:- let
abc=' ' then
eval abc='AAA' abc will be 'AAA '
EVALR:- same as previous diffrence is right adjust.
TIME:- This opcode will return the system time of day.
MONITOR:- this opcode is used to monitor the error in rpgle
ENDMON:- This opcode is used in conjunction with MONITOR
ON-ERROR:- This is used again wilt monitor and endmon opcode
COMMIT:- This opcode is used to commit the changes in the
COMMMIT keyword is used in F-specs like
Fabc UA F DISK COMMIT(*IN03)
C If *in03='1'
If Indicator 03 is '1' then commit all the changes done in
the database file. Else rollback is done onto that database
|Is This Answer Correct ?||10 Yes||0 No|
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
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?
Why Rpg/400 is Famous?
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
i would like to know under what circumstance the object will get locked on AS400.
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
3 members in a databasefile .how to read records from all the members?????????
ESCAPE message sent by child program can be handled by parent program using which keyword?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?