Answer error message

25 pts.
if has error message in rpg subroutine and we answer "G", that mean continue or repeat proses

Answer Wiki

Thanks. We'll let you know when a new response is added.

Thank you for visiting ITKE.

We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.

Discuss This Question: 4  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TomLiotta
    Is there a question in there? What message are you asking about, in particular, what is the message ID?  Tom
    125,585 pointsBadges:
  • BigKat
    the option 'G' is not very useful in modern RPG programming.  It goes back to the traditional RPG Cycle.  This is where a file is declared as primary, and is automatically read record by record.  Every line of the Cycle program is run over those records (with some conditioning, of course.)  'G' basically said "I acknowledge the error, skip this record and go on with the next one."  Unfortunately, in a modern program, this would be like restarting the program, and that may not be possible or even desireable at this point of the processing.  You might get duplicate transactions, you might get errors trying to write duplicate records, etc. Even if you know that the program is safe to restart, it is probably better (in my opinion) to take a 'C' and cancel, and then a 'R' to retry the failed line in the CL or to resubmit it if no CL.
    9,110 pointsBadges:
  • TomLiotta
    the option ‘G’ ...   Since neither 'continue' nor 'retry' quite fits with 'G', I wondered if it was a trick interview/homework question. If it isn't, and the OP is simply trying to learn more, then some return dialog would be useful. Option 'G' takes some background to understand how it works with the Cycle.   Tom
    125,585 pointsBadges:
  • WoodEngineer
    The rule in our shop is never take the "G" option unless you are 110% positive "G" is the correct response and you are willing to clean up any mess it may leave behind. In today's environment "G" creates more problems than it solves.
    7,900 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: