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



Hi Birgitta

I get the same benefit with the System Debugger for CGI (and other server-type) jobs. I'm not sure whether it will solve your problem with seeing what is pointed to by those pointers to pointers. At least one can get there with a little effort in the true green-screen STRDBG.

Regards
Vern

Birgitta Hauser wrote:
Hi Vern,

until now I haven't tried the System Debugger. May be it is a good solution.

I also use STRDBG on our clients machines and even sometimes for small
things.
The WDSc Debugger is great for debugging CGI Jobs, which is much more handy
than STRSRVJOB and STRDBG (especially if a program fails).

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"


-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Vern Hamberg
Gesendet: Tuesday, 29. September 2009 15:13
An: RPG programming on the IBM i / System i
Betreff: Re: WDSC/RDi Debugger and global variables

Hi Birgitta

There is a 3rd option for debugging - the System Debugger in jt400. I was told that it has a different development team from the WDSC debugger, but they look very much the same. Anyhow, I find that I can make the System Debugger work almost all the time. The WDSC debugger had defeated me a couple years ago, and I've never tried it again. I really like the System Debugger, although I will still use STRDBG - especially on a customer machine where I can't expect to make them set it up for the graphical ones. I can even do SEP breakpoints on the green screen, almost effortlessly!!

You can get information on it at

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzamq/rzamqmai
n.htm

If you have the graphical debugger running on your PC, STRDBG will fire it up instead of the green screen debugger.

HTH
Vern

Birgitta Hauser wrote:
Hi,

May be this is not quite the correct forum, but I hope here are also some
guys who use the WDSc/RDi Debugger for RPG and can point me to the right
direction.

I need to debug CGI programs and called procedures. To debug I use the
WDSC-Debugger (Version 7.1). Unfortunately my colleague works with exported procedures and functions,
but
defines almost everything globally. In this way if the procedures are not called in a predefined sequence, the
procedures may fail or deliver wrong results because the global variables
are not yet filled correctly. (I do not want to start a discussion about
global and local variables, I have it already here ;)).

When debugging with the WDSC/RDi debugger I can see the content of my
local
variable, but I didn't find how to see the content of the global
variables.
Can someone give me a tip, how to see the content of my global variables?
(Or do I really go back to STRSRVJOB and STRDBG, which is quite annoying.)

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"


-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
Im
Auftrag von Luis Rodriguez
Gesendet: Tuesday, 29. September 2009 05:21
An: RPG programming on the IBM i / System i
Betreff: Re: Problems User define edit codes

Stephen,

Forgot to ask: Did you do a SAVE/RESTORE of the edit code
(QSYS/QEDIT8, IIRC) or did you just copy the info as you saw it on the
older iSeries?

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries



On Mon, Sep 28, 2009 at 5:19 PM, Brown, Stephen GLARC
<Stephen.Brown@xxxxxxxxx> wrote:
Think I'll need to - I'll let you know how I get on.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Luis Rodriguez
Sent: 28 September 2009 22:30
To: RPG programming on the IBM i / System i
Subject: Re: Problems User define edit codes


Stephen,

In Spain (and the rest of the EU) a comma (,) is used for a decimal
point.
I did some tests with a small DSPF and got some error when trying to
display
a field when the DECPNT parameter had a 'N'.
Do you still have access to the old iSeries? Could you recompile the DSPF
to a temp file and try to replicate the errors there? Maybe there was a
change in either the source code or in the edit code definition...
Regards,

Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries



On Mon, Sep 28, 2009 at 4:35 PM, Brown, Stephen GLARC
<Stephen.Brown@xxxxxxxxx> wrote:
That's ok it my first time dealing with them.

That's why I decided to copy the objects over from the old box rather
than recreate then to make sure I had same definitions. The N does
look odd but again I just took it as it exists so therefore this must
have been asked for and is correct. I do know it's for our Spanish
users but that is all. I thought maybe the N stood for something like
*NONE but it doesn't appear to. Note, field was originally 9,2 but has
just changed to 11,2 - the edit code seems to work for both
definitions on our old box.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Sent: 28 September 2009 21:29
To: RPG programming on the IBM i / System i
Subject: Re: Problems User define edit codes


Stephen,

My apologies if I'm insistent on the syntax part. I have done some
tests here and I have not found any problems but, Did you check if the
INTMASK and FRACMASK parms have the proper length? It seems to me that
the INTMASK is little long (they should be 9 and 2 spaces,
respectively).

Also, just curious, Why a 'N' as a decimal point?

It has been a long time since I last worked with User defined edit
codes, so I must been missing a lot of possibilities.

Regards,

Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries



On Mon, Sep 28, 2009 at 2:24 PM, Brown, Stephen GLARC <Stephen.>
wrote:
Yes I copied the objects from the old machine to the new one to make
sure.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Sent: 28 September 2009 18:02
To: RPG programming on the IBM i / System i
Subject: Re: Problems User define edit codes


Stephen,

Are you sure that your edit code def. is the same in both machines?
It could be that your edit masks differ in size...

Regards,

Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries



On Mon, Sep 28, 2009 at 10:14 AM, Brown, Stephen GLARC
<Stephen.Brown@xxxxxxxxx> wrote:
Can anyone assist ?
We have just migrated to a news iSeries machine running V5R4M0.
Previous was running V5R3M0. The DSPF compiled ok on previous
version with FT03 marked change to field size included but didn't
compile on new box. The only difference I am aware of is the change
to OS. All other aspects are the same i.e code and edit code
definitions. I have changed the edit code description to see if this
makes a difference but no joy.

DSPFFD extract of compiled DSPF on Prev box
CHKAMT ZONED 11 2 11 58 Output 7 67
Field text . . . . . . . . . . . . . . . : Cheque Amount Keyboard
shift . . . . . . . . . . . . . : Y Editing Information Edit code .
. . . . . . . . . . . . . . : 8 Compile failure on New box 1640 FT03
A*********** CHKAMT 9Y 2O 7 69TEXT('Cheque Amount') 1641 FT03 A
CHKAMT 11Y 2O 7 67TEXT('Cheque Amount') 1650 A EDTCDE(8)
* CPD7520-* .
* CPD7528-*
CPD7520 20 1 Message . . . . : Keyword ignored because of error in
list
of values.
CPD7528 20 1 Message . . . . : Number of decimal replace positions not
valid.

EDTD Definition
Display Edit Description

Edit description . . . . . . . : 8

Integer mask . . . . . . . . . : 0
Decimal point character . . . : N
Fraction mask . . . . . . . . :
Fill character . . . . . . . . :
Currency symbol . . . . . . . :
Edit zero values . . . . . . . : *YES
Negative status characters . . :
Positive status characters . . :
Left constant characters . . . :
Right constant characters . . :
Text . . . . . . . . . . . . . : Spanish editing w


--------------------------------------------------------------------
-
-
--------
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown. This
email transmission may contain confidential information. This information
is intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if
you are not the intended recipient. Thank you for your compliance.
Copyright 2009 CIGNA

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




---------------------------------------------------------------------
-
--------
CONFIDENTIALITY NOTICE: If you have received this email in error,
please
immediately notify the sender by e-mail at the address shown. This email
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if
you are not the intended recipient. Thank you for your compliance.
Copyright 2009 CIGNA

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




----------------------------------------------------------------------
--------
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by e-mail at the address shown. This email
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if
you are not the intended recipient. Thank you for your compliance.
Copyright 2009 CIGNA

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





----------------------------------------------------------------------------
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by e-mail at the address shown. This email
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if
you are not the intended recipient. Thank you for your compliance.
Copyright 2009 CIGNA

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.