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



Yes, this definitely helps.

By monitoring in one window the results of the WRKACTJOB, I can now see
that when STRDBGSVR seems to do nothing, if I first do the ENDPJ command
that you mentioned, it will subsequently start.

I also noticed the QDBGSVR listener if I run NETSTAT and choose
option-3.

So, I think the debug server is now running.

However, the distributed debugger still gives me the message "Connection
refused, most likely STRDBGSVR was not issued".

Vadim, noted that this may be because of firewall issues.  Meaning that
though the connection request from the client to the server may be
getting through, the response (on a randomly selected port) from the
server to the client PC may not be making it through.

Still investigating this.

Thanks for everyone's help so far.

Morgan



> -----Original Message-----
> From: code400-l-admin@midrange.com
> [mailto:code400-l-admin@midrange.com]On Behalf Of xuanchen@ca.ibm.com
> Sent: Monday, January 14, 2002 11:06 PM
> To: code400-l@midrange.com
> Subject: RE: Is CODE going to help me?
>
>
> Morgan,
>
> Please try the following command:
>
> ENDPJ SBS(QSYSWRK) PGM(QSYS/Q5BWHSRV) OPTION(*IMMED)
>
> first before you issue STRDBGSVR command to see if the debug
> server could
> be started.
>
> Thanks,
>
> Xuan Chen, Debug for iSeries
> (905) 413-3769 T/L 969-3769
> xuanchen@ca.ibm.com
>
>
>
> "Morgan Najjar" <morgan2@charter.net>@midrange.com on
> 01/14/2002 03:22:11
> PM
>
> Please respond to code400-l@midrange.com
>
> Sent by:  code400-l-admin@midrange.com
>
>
> To:   <code400-l@midrange.com>
> cc:
> Subject:  RE: Is CODE going to help me?
>
>
> Well, I reinstalled WDT and the help now works, and the distributed
> debugger is getting much further.
>
> Now the problem is that I can't seem to start the debug server.
>
> I issue the STRDBGSVR command, but it doesn't start.
> Curiously, it was
> yesterday.  I could tell because I could run the
> corresponding ENDDBGSVR
> command, but today, that just informs me that it's not running.
>
> This seems like it might be the last (hopefully) hurdle.
>
> Thanks for the replies.
>
> Morgan
>
> > -----Original Message-----
> > From: code400-l-admin@midrange.com
> > [mailto:code400-l-admin@midrange.com]On Behalf Of Phil
> > Sent: Saturday, January 12, 2002 9:06 PM
> > To: code400-l@midrange.com
> > Subject: RE: Is CODE going to help me?
> >
> >
> > Morgan,
> >
> > If you're using NT or W2K, your problem with Help is probably
> > an environment
> > variable problem.  Did you install it signed on as one user
> > and are using it
> > signed on as another?  If so, sign on as the user that
> > installed wdts and
> > look at the local and system variables.  Any that reference
> > WDTS that are in
> > local need to be moved either to system or added to the local
> > variables of
> > the user which will use Code.  The samething probably applies to the
> > distributed debugger.
> >
> > On my pc, the distributed debugger is both in the VAJ group and the
> > Websphere Development tools group.
> >
> > If this doesn't help, be sure to post the version of your
> > PC's OS, and the
> > version & service pack level of WDTS.
> >
> > Phil
> >
> > > -----Original Message-----
> > > From: code400-l-admin@midrange.com
> > > [mailto:code400-l-admin@midrange.com]On Behalf Of Morgan Najjar
> > > Sent: Saturday, January 12, 2002 5:53 PM
> > > To: code400-l@midrange.com
> > > Subject: Is CODE going to help me?
> > >
> > >
> > > This is a multi-part message in MIME format.
> > > --
> > > [ Picked text/plain from multipart/alternative ]
> > > Hi.
> > >
> > > I'm new to the AS400 and Websphere Dev Tools, CODE tools,
> > etc. and am
> > > trying to get my bearings.
> > > I'm not even sure if these tools are applicable to my
> > situation.  Any
> > > help would be greatly appreciated.
> > >
> > > Here's my situation:
> > >
> > > I'm working on porting a fairly large C application from Unix to
> > > AS400.  Working natively on the AS400 (using the client access
> > > emulator), I've been able to compile all the modules with
> > the CRTCMOD
> > > command and to create the PGM file.  I've also
> experimented slightly
> > > with running the program in the debugger (again over the
> emulator).
> > > All the source code is on the AS400, it is not currently
> on my local
> > > pc.
> > >
> > > I'm now especially interested in seeing if I have any
> > better debugging
> > > options.  I've loaded the Websphere Dev Tools and I'm
> experimenting
> > > and keep running into roadblocks.
> > >
> > > Specifically I've tried 2 things:
> > >
> > > 1) I opened the CODE Project Organizer, created a
> project, and added
> > > one filter for the PGM in my library.  My PGM file
> > correctly shows up
> > > in the right side panel.  Right clicking on it seems to
> give several
> > > debugging options.  "Host Debug" seems to work, but it runs in the
> > > attached emulator window and offers no gui advantages.
> Both of the
> > > other debug options appear to execute a CODEDBG command,
> > but both fail
> > > with the error, "The name specified is not recognized as
> an internal
> > > or external command, operating program, or batch file.".  Also the
> > > Help buttons don't work in here (I've seen mention of
> that in other
> > > messages and am researching that.)
> > >
> > > 2) I also tried loading the "IBM Distributed Debugger", which is
> > > currently listed under the "Visual Age for Java" program group.  I
> > > chose File->Load Program, then went to the AS400 tab, entered my
> > > <library name>/<pgm name> as the name of program to be
> debugged, and
> > > clicked the "Load" button.  I got an AS400 login prompt, where I
> > > entered my login and password (and thought "so far so
> good").  Then
> > > comes up a "starting" dialog with a slider bar the seems
> to indicate
> > > that the program is loading.  However, it never goes away,
> > and nothing
> > > happens from there.
> > >
> > > Are one or both of these tools applicable in the situation that I
> > > currently have?  I'm especially thinking of C code,
> > residing on AS400
> > > and not locally.  I'm looking to have a gui debugging
> > environment with
> > > a call stack, etc.
> > >
> > > I'm not opposed to keeping the source locally if that would
> > be better.
> > >
> > > Thanks very much for any advice or information.
> > >
> > > Morgan
> > >
> > > --
> > >
> > > _______________________________________________
> > > This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> > > To post a message email: CODE400-L@midrange.com
> > > To subscribe, unsubscribe, or change list options,
> > > visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
> > > or email: CODE400-L-request@midrange.com
> > > Before posting, please take a moment to review the archives
> > > at http://archive.midrange.com/code400-l.
> > >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > _______________________________________________
> > This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> > To post a message email: CODE400-L@midrange.com
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
> > or email: CODE400-L-request@midrange.com
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/code400-l.
> >
>
> _______________________________________________
> This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> To post a message email: CODE400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
> or email: CODE400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/code400-l.
>
>
>
>
> _______________________________________________
> This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> To post a message email: CODE400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
> or email: CODE400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/code400-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.