× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The data structure should be populated  when you read a record from MPSSum.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


|---------+----------------------------->
|         |           "Peter Vidal"     |
|         |           <Peter_Vidal@pall.|
|         |           com>              |
|         |           Sent by:          |
|         |           rpg400-l-bounces@m|
|         |           idrange.com       |
|         |                             |
|         |                             |
|         |           01/29/2004 03:43  |
|         |           PM                |
|         |           Please respond to |
|         |           RPG programming on|
|         |           the AS400 /       |
|         |           iSeries           |
|         |                             |
|---------+----------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       rpg400-l@xxxxxxxxxxxx                                       
                                                 |
  |       cc:                                                                   
                                                 |
  |       Subject:  Load a record into a data structure for DEBUGGING purposes. 
                                                 |
  
>------------------------------------------------------------------------------------------------------------------------------|




I have looked around for this one:

I need a way to load a record from a file:
FMPSSum    uf a e           k disk

Into a data structure (maybe something like this):
D MPSDs         e ds                  extname(MPSSum)

So when I do debug, I can see all field values by saying EVAL MPSDS for
example.

The problem is that the compiler is not allowing me to do this because the
field
names are already defined.  Of course, I have the fields all "spreaded" in
the
calculations and then I write/update the record.  "However, I need to debug
the
data and I want to be able to see it all and not by individual EVAL
commands.

I have the impression that I read, maybe in the list, that is possible to
import
data from a record into a specific data structure.

Any ideas?  TIA,

Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com
"My religion consists of a humble admiration of the illimitable superior
spirit who reveals himself in the slight details we are able to perceive
with our frail and feeble mind."
Albert Einstein



_______________________________________________
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-2024 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.