Anyone help me for the below question:-

If problem/error occur in *PSSR subroutine,how should I
handel it in RPG program.

Answer Posted / samul

Control will again come to *PSSR subroutine,In such cases
switch needs to be handeled.

Using switch,if it is not a first time then control goes to
end suboutine (Need to specifiy *CANCL at the end of *PSSR
subroutine)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How Chain operation copies the record's data to the input buffer for the program?

1362


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

979


What is file identifier where we can use?

895


what was the robotech rpg?

909


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

873


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2581


what is *place and *auto keyword in prtf ?plz explain

2957


How to handle duplicate error handling in RPG?

2016


What is difference between bind by copy and bind by reference?

2162


how do I declare a table or array in rpg iv?

971


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1029


how do I play {insert rpg system here}?

822


what is the use of sflnxtchg?

1064


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3588


How can we know running job is batch or interactive?

902