Well that prevents the program from blowing up. It's a win-win. The users don't have errors and you don't have calls to the help desk. =)

Paul Therrien
Ext: 551


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Thursday, April 05, 2012 1:05 PM
To: RPG programming on the IBM i / System i
Subject: *PSSR subroutines (was: PSDS and Monitor)

On 4/5/2012 12:56 PM, Paul Therrien wrote:
Wouldn't you instead want a *PSSR subroutine for this?

Just as a side note ...

Some time ago I encountered a series of programs who's *PSSR subroutine included the following:

C *PSSR BEGSR
C SETON LR
C RETURN
C ENDSR

I kid you not.

david

--
IBM i on Power - For when you can't afford to be out of business

I'm riding on the American Diabetes Association Tour de Cure to raise money for diabetes research! To sponsor me, visit http://urlq.us/adaride
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].