John W. Ebrecht | 1 Oct 15:15 2008
Picon

java invoked rpg program: recommended error handling

i've been asked to develop an RPG program that will be invoked from the java
side, a first for me. Now that I'm close to having the  program
developed I want to turn my attention to error handling and, or, debug
issues that might arise.

What subsystem will run the rpg program? How is the job name given? How do
we see the job log? Is there a recommended method of error handling and
error logging? Is there an IBM manual that reviews the recommended
techniques? For example I'll be curious to see what values are passed fromt
he java side of things..how would I go about seeing those values? What if
there is an abend of the RPG..where would I go to see those messages? etc.

Thanks
--

-- 
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

Schmidt, Mihael | 1 Oct 15:36 2008
Picon

Re: java invoked rpg program: recommended error handling

Some things depend on how the RPG program will be invoked. Are you using SQL Stored Procedures or RPC or
PCML/XPCML? We need more info to give some reasonable answers. 

-----Ursprüngliche Nachricht-----
Von: wdsci-l-bounces@...
[mailto:wdsci-l-bounces@...] Im Auftrag von John W. Ebrecht
Gesendet: Mittwoch, 1. Oktober 2008 15:15
An: WDSCI-L@...
Betreff: [WDSCI-L] java invoked rpg program: recommended error handling

i've been asked to develop an RPG program that will be invoked from the java
side, a first for me. Now that I'm close to having the  program
developed I want to turn my attention to error handling and, or, debug
issues that might arise.

What subsystem will run the rpg program? How is the job name given? How do
we see the job log? Is there a recommended method of error handling and
error logging? Is there an IBM manual that reviews the recommended
techniques? For example I'll be curious to see what values are passed fromt
he java side of things..how would I go about seeing those values? What if
there is an abend of the RPG..where would I go to see those messages? etc.

Thanks
--

-- 
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives
(Continue reading)

Dave Shaw | 1 Oct 16:02 2008
Picon

Re: java invoked rpg program: recommended error handling

Not to be a pain or anything, but I think you'd get a better response on 
JAVA400-L or RPG400-L.  It's a little off-topic for the WDSCI list, I think.

Dave Shaw
Mohawk Industries

----- Original Message ----- 
From: "John W. Ebrecht" <johnw.ebrecht@...>
To: <WDSCI-L@...>
Sent: Wednesday, October 01, 2008 9:15 AM
Subject: [WDSCI-L] java invoked rpg program: recommended error handling

> i've been asked to develop an RPG program that will be invoked from the 
> java
> side, a first for me. Now that I'm close to having the  program
> developed I want to turn my attention to error handling and, or, debug
> issues that might arise.
>
> What subsystem will run the rpg program? How is the job name given? How do
> we see the job log? Is there a recommended method of error handling and
> error logging? Is there an IBM manual that reviews the recommended
> techniques? For example I'll be curious to see what values are passed 
> fromt
> he java side of things..how would I go about seeing those values? What if
> there is an abend of the RPG..where would I go to see those messages? etc. 

--

-- 
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
(Continue reading)

John W. Ebrecht | 1 Oct 15:47 2008
Picon

Re: java invoked rpg program: recommended error handling

It will not be sql stored procedures. But I'll have to get back with the how
it's invoked. thanks for making the distinction.

On Wed, Oct 1, 2008 at 9:36 AM, Schmidt, Mihael
<Mihael.Schmidt@...>wrote:

> Some things depend on how the RPG program will be invoked. Are you using
> SQL Stored Procedures or RPC or PCML/XPCML? We need more info to give some
> reasonable answers.
>
> -----Ursprüngliche Nachricht-----
> Von: wdsci-l-bounces@...
[mailto:wdsci-l-bounces@...] Im
> Auftrag von John W. Ebrecht
> Gesendet: Mittwoch, 1. Oktober 2008 15:15
> An: WDSCI-L@...
> Betreff: [WDSCI-L] java invoked rpg program: recommended error handling
>
> i've been asked to develop an RPG program that will be invoked from the
> java
> side, a first for me. Now that I'm close to having the  program
> developed I want to turn my attention to error handling and, or, debug
> issues that might arise.
>
> What subsystem will run the rpg program? How is the job name given? How do
> we see the job log? Is there a recommended method of error handling and
> error logging? Is there an IBM manual that reviews the recommended
> techniques? For example I'll be curious to see what values are passed fromt
> he java side of things..how would I go about seeing those values? What if
> there is an abend of the RPG..where would I go to see those messages? etc.
(Continue reading)

Austin, Mark | 1 Oct 17:04 2008

Screen Designer - Resequence


Hi everyone,

I am using the screen designer in RDi and have added a number of fields
to a screen. The new fields are in the middle of the screen, but the new
source lines are added at the end of the format. Is there any way to
re-sequence the source by line/column, like SDA does?

Best regards,

Mark Austin

IT Consultant

Universal Music Publishing International

Email: mark.austin@...

Tel:     +44 (0) 208 742 5520

Fax:     +44 (0) 208 742 5699

Universal Music Publishing International Limited

Registered in England. Number 02050403

Registered Office: 347-353 Chiswick High Road, London W4 4HS

Confidentiality

(Continue reading)

Albert_Slezak | 1 Oct 17:21 2008

Re: Screen Designer - Resequence

In the code designer you are able to right click and reorder the fields 
maybe it is the same for the RDi

      Al Slezak
      Information Systems Division / NEWS Group 
      Phone:  (630) 451-7433 
      Fax:  (630) 451-7401 
      Albert_Slezak@... 
      Making the Magic Happen 

"Austin, Mark" <Mark.Austin@...> 
Sent by: wdsci-l-bounces@...
10/01/2008 10:18 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@...>

To
"Websphere Development Studio Client for iSeries" <wdsci-l@...>
cc

Subject
[WDSCI-L] Screen Designer - Resequence

Hi everyone,

I am using the screen designer in RDi and have added a number of fields
to a screen. The new fields are in the middle of the screen, but the new
source lines are added at the end of the format. Is there any way to
re-sequence the source by line/column, like SDA does?

(Continue reading)

Dale Monti | 1 Oct 21:31 2008

Get a connection from LPEX editor

Hi,
I am using the LPEX editor to edit a source member on the iSeries. 
I would like to define my own User Action that retrieves some data from a file.
So I have implemented LpexAction, but I don't know how to retrieve the 
connection. 

For example when the user presses some key combination I would like to retrieve
the same connection(or at least the attributes) of the connection that is being 
used to update the member. I would then like to query a file and insert 
some text.

Thanks

--

-- 
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing list
To post a message email: WDSCI-L@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

Bryce Martin | 2 Oct 17:39 2008

RSE in new window throwing an error when attempting to open file.

I'm using WDSC 7 with all the latest updates.  Here's the problem.  I have 
my main workbench open and go to Window -> New Window.  I then have the 
RSE open.  So I pick the correct iSeries from the list, go to the iSeries 
Objects and find my user library.  I then expand it to source.  I go down 
and find the file that I want to work on and double click it.  When I do 
that I get an error box that comes up and says...  Operation failed. File 
system input or output error.

When I click the details button it says Message reported from file system: 
java.lang.NullPointerException. 

I can open and close files in the main window just fine, but the new 
window isn't working.  I've tried disconnecting and reconnecting but 
nothing.  The last time it happened I think I rebooted and it was ok after 
that.  I'm going to try to reboot now and see if that solves it.   If 
anybody has any thoughts I'd greatly appreciate it.  By the way, I have 
dual screens set up so that I can be looking at 2 sets of program code on 
one screen and a couple more on the other if I find myself into a complex 
issue...but I digress.  I wasn't sure if having two screens would have 
anything to do with it?

Thanks
Bryce Martin
Programmer/Analyst I
Ext. 4777
--- This message (including any attachments) is intended only for the use of the individual or entity to
which it is addressed and may contain information that is non-public, proprietary, privileged,
confidential, and exempt from disclosure under applicable law. If you are not the intended recipient,
you are hereby notified that any use, dissemination, distribution, or copying of this communication is
strictly prohibited. If you have received this communication in error, please notify us and destroy this
(Continue reading)

Buck | 2 Oct 18:42 2008
Picon

Re: RSE in new window throwing an error when attempting to open file.

Bryce Martin wrote:
> I'm using WDSC 7 with all the latest updates.  Here's the problem.  I have 
> my main workbench open and go to Window -> New Window.  I then have the 
> RSE open.  So I pick the correct iSeries from the list, go to the iSeries 
> Objects and find my user library.  I then expand it to source.  I go down 
> and find the file that I want to work on and double click it.  When I do 
> that I get an error box that comes up and says...  Operation failed. File 
> system input or output error.
> 
> When I click the details button it says Message reported from file system: 
> java.lang.NullPointerException. 

Same thing here.  At first I thought it was related to opening up the
same filter, but that's not it.  I tried opening up a different filter
and when I try to edit, I get the same error.  Finally, I tried to edit
the exact same member in the new window as I'm working on in the old
window, and I get a 'You're currently editing this elsewhere' sort of
error, and if I tell Eclipse to open in Browse, I get an error telling
me that the document is already open.

My error log shows 2 errors:

1)  RSEF1002E: SUB#0:java.lang.NullPointerException
An exception stack trace is not available.

2)  Error when opening member
java.lang.NullPointerException
at
com.ibm.etools.iseries.core.resources.ISeriesEditableSrcPhysicalFileMember.checkOpenInEditor(Unknown
Source)
(Continue reading)

Luis Hernandez | 2 Oct 18:25 2008

Re: RSE in new window throwing an error when attempting to open file.

Bryce,
I also have dual screens and have used the "New Window" option and drag 
the new window to my other screen, the only difference is that I use 
Ctrl+Shift+A to open a source in browse mode. I don't know if that makes a 
difference.

 
Luis Hernández
Computer Programmer
Masters Gallery Foods, Inc
Phone:  (920) 893 - 9161
Fax:      (920) 893 - 6075 
lhernandez@...

NOTICE:  This email message and all attachments transmitted with it may 
contain legally privileged and confidential information intended solely 
for the use of the addressee.   If the reader of this message is not the 
intended recipient, you are hereby notified that any reading, 
dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited.  If you have received this message in 
error, please notify the sender immediately by telephone or by electronic 
mail, and delete this message and all copies and backups there of.  Thank 
you.

Bryce Martin <BMartin@...> 
Sent by: wdsci-l-bounces@...
10/02/2008 11:17 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@...>

(Continue reading)


Gmane