if i have three programs progA,progB and progC .now i call
progB from progA. but the progB does not exist . now i want
to call progC instead of starting dump. how can we achieve
this.
Answer Posted / raja
By Using *pssr we can handle the error and take dump of
that.
For Example:
call 'Nxtpgm'(if object is not Found it take
Nxt tag dump and call the nxtpgm1)
Call 'Nxtpgm1'
*pssr Begsr
Dump(A)
Goto Nxt
Endsr
seton lr
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what are the key words you must use when using a subfile?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how can you display specific subfile page on the screen in unequal subfile?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is the difference between iter and do?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
how do I declare a minor?
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...
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is a record lock error?
How many program bind in one module....
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400