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



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.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.

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


--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-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.