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



On 10/5/2012 11:18 AM, Gary Thompson wrote:

Yes, the only official way to create one is to drill down through a
connection, but once a UA is created, it is usable in all connections,
even new connections that you will make next week. They are NOT limited
to a single library or connection.
--buck


Yea, I can tell I am missing something.

The only way I know to create a user-action is in Remote Systems view,
and I >think< I need to:
expand a connection,
expand User libraries,
right-click a library to get the menu with User Actions

So, I >assume< these User Actions will be for just that library on that connection



-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Friday, October 05, 2012 9:02 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries'
Subject: Re: [WDSCI-L] Insert with Temp Table

Gary,

You can Cut & Paste your PDM Option directly into your user-Actions.
<Big Smile> IBM made that EASY!

Not sure if I follow or not....

But, when I create an User-Action, it is available to all the system I have set up...

Sorry, but I guess I don't follow...
<frown>

-Ken Killian-
(423) 510-3129


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Friday, October 05, 2012 10:23 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Insert with Temp Table

Ken,
Thanks for the example, especially the PDM options!

Up to now, I have not used User-Actions and think I should take another look.

My problem is it seems I need to define U-A at the library/folder level, so it looks like I need to dup them for test and prod both at the library level, and, "by definition" at the connection/lpar level ???

For this reason, I have stuck with Preferences/Remote Systems/IBM i/
Command Execution/Object Library = *SRCLIB

Is there a way to define more "global" user actions ?

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Friday, October 05, 2012 7:52 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries'
Subject: Re: [WDSCI-L] Insert with Temp Table

Inside RDP, I override my object library to my library. A.k.a. the "&O" for User-Actions, and the old PDM options too! They work the same!

So, I override my creation command for CRTSQLRPGI to "TOSRCFILE(&O/QSQLTEMP1)"

My complete override Creation command:
CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE) TOSRCFILE(&O/QSQLTEMP1)

And my RDP compiles properly, and also shows me information for debug...

See if that works for you! Just be sure to change your default object-library!
Windows>Preferences>Remote systems>IBM i>Command Execution.
Load your Obect Library, instead of the default of *SRCLIB


-Ken Killian-
(423) 510-3129

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Friday, October 05, 2012 9:38 AM
To: Midrange Systems Technical Discussion; Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Insert with Temp Table

Well that's interesting. I compiled this program this morning from WDSC, and it failed because the files weren't in QTEMP and it couldn't find the column definitions. It's a severity level 10 message. I changed the GENLVL on the CRTSQLRPGI command (prompted it) and it still failed. Compiled the program from PDM with no errors.

On Thu, Oct 4, 2012 at 7:33 PM, Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:
I don't think you need to create the table in qtemp before compiling.
Your can force your program to compile and and it will run. Try it.

Sam

On 10/4/2012 12:21 PM, Michael Ryan wrote:
I used the CREATE TABLE in QTEMP approach. Works quite well. I like it.

But, when I create my program, I get a bunch of Table QTEMP/blah not
found. Well...yeah, it isn't there.

I guess I need to create the table in QTEMP and then create the
program interactively.

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.