× 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 Morgan,

At least one Q5BWHSRV job should be around in the QSYSWRK subsystem if
debug
server is started properly.
However, as I mentioned before, these are Prestart Jobs that will be in
PSRW state (untill
the are actually servicing your debug client). Therefore, they will not
show on WRKACTJOB
untill you press F14 key.

By the way, it turns out that client debug ports could be created anywhere
in the range of
1024 - 5000.
On my NT box they are usually created within 1024 - 1100, but I think it
depends on how
many ports are currently in use on your machine.

Hope this helps,
Vadim Berestetsky
Internet:  berestet@ca.ibm.com


"Morgan Najjar" <morgan@appx.com>@midrange.com on 01/16/2002 01:11:37 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?



(Sorry, if this comes through twice.  I was having email troubles and
re-subscribed under another email address.)

Can anyone answer this?

For the distributed debugger, if the job, QSYSJOBD, with a status of
PGM-Q5BROUTE, is running.  When a connection is made to it is that when
the job Q5BWHSRV is started?

Or will Q5BWHSRV already be there (prior to connection) if the debug
server is started properly?

Thanks

Morgan

> -----Original Message-----
> From: code400-l-admin@midrange.com
> [mailto:code400-l-admin@midrange.com]On Behalf Of Morgan Najjar
> Sent: Tuesday, January 15, 2002 4:50 PM
> To: code400-l@midrange.com
> Subject: RE: Is CODE going to help me?
>
>
>
> --
> Here's some new information.
>
> I do this on the AS400:
>
> ENDDBGSVR
> ENDPJ SBS(QSYSWRK) PGM(QSYS/Q5BWHSRV) OPTION(*IMMED)
> STRDBGSVR
>
> Now when I run WRKACTJOB and examine the list,
>
> I do see QSYSJOBD, with a status of PGM-Q5BROUTE.
>
> I do NOT see Q5BWHSRV !
>
> Is this a problem?
>
> Thanks
>
> Morgan
>
> > > -----Original Message-----
> > > From: berestet@ca.ibm.com [mailto:berestet@ca.ibm.com]
> > > Sent: Monday, January 14, 2002 3:35 PM
> > > To: Morgan Najjar
> > > Subject: RE: Is CODE going to help me?
> > >
> > >
> > > Hi Morgan,
> > >
> > > As far as STRDBGSVR command goes, please check if the
> > > following jobs are
> > > around in
> > > the QSYSWRK subsystem (you need to do WRKACTJOB on AS/400
> > > command line).
> > > QSYSJOBD     YOURUSERID    BCH      .0  PGM-Q5BROUTE
> > > Q5BWHSRV     QUSER       PJ       .0
> > >
> > >
> > > However, firewall might be a problem. I understand that
> > your AS/400 is
> > > behind the firewall
> > > and hence you need to forward port 3001 (for your PC to
> > connect to the
> > > debug server on AS/400).
> > > Yet, I wonder if your AS/400 can connect back to your PC on
> > > any given port?
> > >
> > > The current design of the Distributed Debugger expects AS/400
> > > to connect
> > > back on the
> > > port that cannot be determined ahead of time...
> > >
> > > Regards,
> > > Vadim Berestetsky
> > > Distributed Debugger Development
> > > Internet:  berestet@ca.ibm.com
> > >
> > >
> > > "Morgan Najjar" <morgan2@charter.net> on 01/14/2002 11:35:35 AM
> > >
> > > To:   Vadim Berestetsky/Toronto/IBM@IBMCA
> > > cc:
> > > Subject:  RE: Is CODE going to help me?
> > >
> > >
> > > Vadim,
> > >
> > > Thanks for your response.
> > >
> > > I'm not real familiar with the AS400, and actually have
> > never seen it.
> > > It's at our company office and I am a remote employee.
> > Anyway, it's a
> > > 9406, model 250, running V5R1.
> > >
> > > When I launch "Distributed Debugger", the DOS box says that it's
> > > "Version 9.1 <2001/03/22>".
> > >
> > > The AS400 is behind a firewall, so I am connected to it
> by using SSH
> > > port forwarding.  For using the various IBM tools, I've so
> > > far forwarded
> > > the following ports to the AS400:
> > >
> > >            23
> > >            449
> > >            3001
> > >            8470-8479
> > >
> > > This seems to work fine for using Client Access, Operations
> > Navigator.
> > > I've also successfully some of the STRCODE server functionality.
> > >
> > > Thanks for any assistance.
> > >
> > > Morgan
> > >
> > > > -----Original Message-----
> > > > From: code400-l-admin@midrange.com
> > > > [mailto:code400-l-admin@midrange.com]On Behalf Of
> > > berestet@ca.ibm.com
> > > > Sent: Monday, January 14, 2002 10:34 AM
> > > > To: code400-l@midrange.com
> > > > Subject: Re: Is CODE going to help me?
> > > >
> > > >
> > > >
> > > > Hi Morgan,
> > > >
> > > > It sounds to me like the Distributed Debugger should be a
> > > > good option in
> > > > your situation.
> > > > Now, it does sound like you are running into a number of
> > > > problems. I was
> > > > wondering if you
> > > > could send me some of your OS/400 and product information and
> > > > let me see
> > > > what we can
> > > > figure out. (my e-mail address is at the bottom of this note).
> > > >
> > > >
> > > > Thanks,
> > > > Vadim Berestetsky
> > > > Distributed Debugger Development
> > > > Internet:  berestet@ca.ibm.com
> > > >
> > > >
> > > > "Morgan Najjar" <morgan2@charter.net>@midrange.com on
> > > > 01/12/2002 05:52:58
> > > > PM
> > > >
> > > > Please respond to code400-l@midrange.com
> > > >
> > > > Sent by:  code400-l-admin@midrange.com
> > > >
> > > >
> > > > To:   <code400-l@midrange.com>
> > > > cc:
> > > > 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.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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:

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.