× 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.



Are you on Security level 40 or higher?

Bob

-----Original Message-----
From: rpg400-l-bounces@midrange.com
[mailto:rpg400-l-bounces@midrange.com] On Behalf Of Gary Thornton
Sent: Thursday, January 09, 2003 8:51 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: PDM Default Options, F18. Where are they stored, how to
retrieve them in an RPG program.


--- Carsten Flensburg <flensburg@novasol.dk> wrote:
> Hello John,
> 
> Here's a snippet - based on a similar example written by Gene Gaunt
> - demonstrating how to get at the PDM defaults.
> 
> I've just (almost) outlaid the information from first 4 index entries 
> - using the dmpsysobj option described in other mails you could surely

> identify the rest of the fields...

Has anyone finished off this code to work?  And be willing to share the
code?  

Compiling the code as given in Carsten's post generates MCH5601:
Message . :   Template value not valid for instruction.
Cause . . :   The location of the value is template with an 
  offset to field in bytes X'0002', an offset in field in bits
  X'0000', a length of field of 2, and an instruction operand
  number of 3.  The reason code is X'0000'. If the reason code
  is X'0000', a reason code may not be available.

If I could actually get to the point where I could get this part to work
and be able to extract PDM default info, I will be able to finish the
code.  But the above error message is Greek to me, and the source code
is doing stuff I've never seen before either.



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@midrange.com To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/rpg400-l
or email: RPG400-L-request@midrange.com
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-Ups:
Replies:

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.