CRPence | 22 Nov 17:40 2014
Picon

Re: Convert sources for RDi

On 21-Nov-2014 16:17 -0600, Voris, John wrote:
> <<SNIP>> I do encourage as a big up-front change is to make sure you
> have taken advantage of the longer source-file formats. Be sure
> going into the future that you have your source files defined as
> 112 total in CRTSRCPF cmd.
>
> Due to some corporate policies about change management,
> moving source all at once is discouraged as new source dates are
> generated. (Member dates change even though dates on individual
> source lines do not change. <<SNIP>>

   An enhancement was made to allow the source-change date information 
to be carried to the target member from the source member in a copy 
request; that should resolve most concerns for the CM.  The Copy Source 
File (CPYSRCF) command enables the specification of the special value 
*FROMMBR on the Source Change Date (SRCCHGDATE) parameter.  Starting 
with v6r1 [IBM i 6.1] that the maintaining of the source last-updated 
date is the default effect when copying an existing member into a 
new\replaced member.  Copying all of the member.data from the old source 
file with the shorter record length to the new source file with the 
longer record length and no existing members should enable the up-front 
change: CPYSRCF FROMFILE(old_srcF) TOFILE(new_srcF) FROMMBR(*ALL) 
TOMBR(*FROMMBR) MBROPT(*REPLACE)

<http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_71/cl/cpysrcf.htm>
_Copy Source File_ (CPYSRCF)
"The Copy Source File (CPYSRCF) command copies a database source ..."

   A modified last-changed date for a member is an effect from many 
possible origins, for various change activity having nothing to do with 
(Continue reading)

Buck Calabro | 21 Nov 17:19 2014
Picon

Re: Convert sources for RDi

On 11/21/2014 9:21 AM, MATRAS Pavel (renexter) wrote:

> as we are starting using RDi, we have a lot of our sources in OPM (RPG and COBOL). And most of functionality on
RDi works only on ILE sources.

I would say that most of the functionality of IBM i works with ILE!

> Please do you have any experience about converting sources from OPM to ILE? Has this conversion any big troubles?

I do not convert all of my OPM to ILE.  I do convert each individual
program that I need to maintain.  I have a user action (which is very
like a PDM action) that converts the syntax for me.  Right click a
member > User Actions > Work with User Actions...

CVTRPGSRC FROMFILE(&L/&F) FROMMBR(&N) TOFILE(&l/QRPGLESRC) LOGFILE(*NONE)

Since I am modifying this program, I am going to test it, so any
problems due to running in an activation group can be discovered.  I
don't typically find any issues - OPNQRYF is the usual problem because
OVRSCOPE has the wrong default.

Usually, I convert, edit, compile and run with out any issues due to
being ILE.

-- 
  --buck

'I had nothing to offer anybody except my own confusion' - Jack Kerouac
--

-- 
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries 
(Continue reading)

MATRAS Pavel (renexter | 21 Nov 15:21 2014
Picon

Convert sources for RDi

Hello,
as we are starting using RDi, we have a lot of our sources in OPM (RPG and COBOL). And most of functionality on
RDi works only on ILE sources.
Please do you have any experience about converting sources from OPM to ILE? Has this conversion any big troubles?
I know only about CL sources, that from ILE CL you can't use retrieve source command...
Thanks for any advices.

Br,
Pavel

[cid:image001.png@...]

Pavel Matras (ASSIST)
Developer / Analyst
Task Force

-- Disclaimer ------------------------------------ 
Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et
confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le
destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est
signifie que toute divulgation, distribution ou copie de cette transmission est strictement
interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par
telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme.

*** This e-mail and any attachments is a confidential correspondence intended only for use of the
individual or entity named above. If you are not the intended recipient or the agent responsible for
delivering the message to the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly prohibited. If you have received this
communication in error, please notify the sender by phone or by replying this message, and then delete
this message from your system.
(Continue reading)

arild.skar | 21 Nov 09:24 2014
Picon

Re: Snippet question

May I suggest you take a look at the FreeMarker plug-in from 
freemarker.org
It offers the capability you seek with local and global snippets. 
It's also more powerful than regular snippets, but it does require some 
minimal programming skills to utlilize fully.

Kind regards,
Arild

Douglas Englander wrote:
>Does anyone know if it is possible to have the one category of Snippets 
be
>a global copy where all developers in a company have access to the global
>definitions in order to use common pieces of code, in order to keep the
>code standardized? We would like a developer to be able to have their own
>Snippets, as well as a Company-Wide Snippets code base to pull from. I am
>thinking the global codes would be defined on a network drive, and be
>read-only to all developers, and update for specific lead-type 
developers.
>
>Does anyone know if this can be done, and if so how?

--

-- 
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@...
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)

CRPence | 20 Nov 22:59 2014
Picon

Re: Setting library list using Initial command

On 19-Nov-2014 04:11 -0600, Frank Broome wrote:
> I know that the initial command is only running when connection is
> established.
> As I said, running a command like e.g. CHGLIBL works fine, running a
> CALL to a program that changes the library list does NOT work.
>
> After running the CALL to the program the job that has executed it
> ends, whilst if I run command CHGLIBL the job stays and the lib list
> is changed accordingly.

   Running with iASP?  What release of the OS?

> I have now been able to catch the joblog and see what happens and
> when I run the call to the program the job ends with:
> "Tried to refer to an object that no longer exists"
> From program . . . . . . . . . :   QZRCSRVS
>    From library . . . . . . . . :     QSYS
>    From module  . . . . . . . . :     QZRCSRVS
>    From procedure . . . . . . . :     ProcessExitPt
>    From statement . . . . . . . :     14
> To program . . . . . . . . . . :   QZRCSRVS
>    To library . . . . . . . . . :     QSYS
>    To module  . . . . . . . . . :     QZRCSRVS
>    To procedure . . . . . . . . :     ProcessExitPt
>    To statement . . . . . . . . :     14

   restated in symptom kwd form:

   msgMCH3402 T/QZRCSRVS TM/QZRCSRVS TP/ProcessExitPt stmt/14

(Continue reading)

Warren Schultz | 20 Nov 20:22 2014

Compile problem

Working in RSE, things going fine, until....  Now when I either click on Run compile without prompting icon
OR I select Compile CRTBNDRPG, nothing happens.  I assume something in my Preferences got changed by
mistake, but where to look to fix this?

Thanks for any tips

Warren S. Schultz
Senior Systems Analyst
American Foods Group, LLC
500 S. Washington St.
Green Bay, WI 54301-4219

--

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

Englander, Douglas | 20 Nov 18:54 2014

Snippet question


Does anyone know if it is possible to have the one category of Snippets be a global copy where all developers
in a company have access to the global definitions in order to use common pieces of code, in order to keep the
code standardized? We would like a developer to be able to have their own Snippets, as well as a
Company-Wide Snippets code base to pull from. I am thinking the global codes would be defined on a network
drive, and be read-only to all developers, and update for specific lead-type developers.

Does anyone know if this can be done, and if so how?

Thank you,

Doug

--

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

MATRAS Pavel (renexter | 20 Nov 16:16 2014
Picon

IBM Rational developer for i manuals

Hello,
I am start using RDi and I am looking for some good manual. I found this: http://www.ibm.com/developerworks/rational/cafe/docBodyAttachments/3328-102-1-6839/Lab07_Advanced_topics.pdf
But it's only part of whole series. I found some other from this series, numbers LAB01, LAB02, LAB04, LAB06,
LAB07, LAB08 but I can't find rest of them. Or find somewhere complete list of this LAB series.
Even on IBM support didn't know where is complete series of this.
Thanks for any help.

Br,
Pavel

[cid:image001.png@...]

Pavel Matras (ASSIST)
Developer / Analyst
Task Force

-- Disclaimer ------------------------------------ 
Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et
confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le
destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est
signifie que toute divulgation, distribution ou copie de cette transmission est strictement
interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par
telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme.

*** This e-mail and any attachments is a confidential correspondence intended only for use of the
individual or entity named above. If you are not the intended recipient or the agent responsible for
delivering the message to the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly prohibited. If you have received this
communication in error, please notify the sender by phone or by replying this message, and then delete
this message from your system.
(Continue reading)

Kurt Anderson | 19 Nov 21:41 2014

Source Search with a special character

I need to search our source for &Amp, but it seems the source search (little flashlight button) doesn't
allow special characters.  Is there a way to escape it so it will look for &?   Searching on just Amp is likely
going to give me a lot of false positives.

Thanks,

Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform
[cid:image002.jpg@...]
web: www.customcall.com<http://www.customcall.com/> | email: kanderson@...<mailto:kanderson@...>

A Division of Enghouse Systems Ltd.<http://www.enghouse.com/> (TSX:ESL)

--

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

Gary Thompson | 19 Nov 18:59 2014

New to SEP - whats up with DBGP0004E Debug Engine Message

I have a 'never ending' job running under user qsyoper
I set a Service Entry Point on a program called from that job.
I get the dialog asking if I want to open a debug session and respond yes.

The debug view opens and I reply to a couple of prompts and I'm positioned at the SEP,
then I disable the SEP, then click on the "Run" icon (green circle with white right arrow head) . . .

Then I get a "DBGP0004E Program terminated." message
And I see <terminated> messages in the pane with the Debug tab on the Debug view

RDi Help says:
"Terminating results in an immediate end to a debugging session, and the program that
you are debugging continues to run."

Maybe I should have right-clicked in the Debug pane and selected Terminate from the pop-up ?
Or clicked the Terminate button on the Debug tool bar  (the red square seemed a little ominous) ?

Job is still running, but I need to know how to "get in and out" without upsetting normal
program flow.
--

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

(Continue reading)

Buck Calabro | 19 Nov 17:11 2014
Picon

Re: Setting library list using Initial command

On 11/19/2014 5:11 AM, Frank Broome wrote:
> I know that the initial command is only running when connection is established.
> As I said, running a command like e.g. CHGLIBL works fine, running a CALL to a program that changes the
library list does NOT work.
> 
> After running the CALL to the program the job that has executed it ends, whilst if I run command CHGLIBL the
job stays and the lib list is changed accordingly.
> 
> I have now been able to catch the joblog and see what happens and when I run the call to the program the job ends with:
> "Tried to refer to an object that no longer exists"
>>From program . . . . . . . . . :   QZRCSRVS
>   From library . . . . . . . . :     QSYS
>   From module  . . . . . . . . :     QZRCSRVS
>   From procedure . . . . . . . :     ProcessExitPt
>   From statement . . . . . . . :     14
> 
> To program . . . . . . . . . . :   QZRCSRVS
>   To library . . . . . . . . . :     QSYS
>   To module  . . . . . . . . . :     QZRCSRVS
>   To procedure . . . . . . . . :     ProcessExitPt
>  To statement . . . . . . . . :     14
> 
> I have made sure that I am NOT doing any RCLACTGRP or RCLRSC in my program, so I am not sure which object it's
trying to refer to??
> 
> Any clues would be appreciated!

I have a standard CLP that I call in every one of my connexions.  That
CLP sets my base library list; after that, each connexion will add any
extras via the Properties > Subsystems > Library list.  I've never had
(Continue reading)


Gmane