×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Phil,

Is the last line of the SPLF "Error occurred while retrieving variable data.
Dump terminated."?  If so, make sure the user that is answering the message
has *change authority to the program.

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863



-----Original Message-----
From: sublime78ska@xxxxxxxxxxx [mailto:sublime78ska@xxxxxxxxxxx]
Sent: Wednesday, January 21, 2004 3:35 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: dump subprocedures


I have a pgm that consists of one module with a main and another module with
multiple subprocedures and nomain.  If there is an error in one of these
subprocedures, and a D or F is taken, the dump doesn't have any of the file
or variable info.  I found that if I add the DUMP opcode to the
subprocedure, that I can get all of the variable and file info.

Is this the way that it is?  Or is there a way to get a worthwhile dump?  I
know I can add a monitor or E extender but then the pgm doesn't halt.  These
are usually batch jobs and we can't ignore when an error occurs.  I could
send an inquiry message but first want to see if there's a better way.

Thanks for your input!

Phil
_______________________________________________
This is the RPG programming on the AS400 / iSeries (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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2026 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.