Bill Barnes | 1 Dec 13:50 2006

Converting to free form

I have noticed a couple of gotchas when converting.  If there are any
characters in CC1-5 the conversion leaves them there and then the
compile complains and you have to go and manually remove the characters
in CC1-5.  We use RPGTOOLBOX extensively and one of the things we use it
for is to color source lines that have been commented out to red.  In
SEU this is extremely helpful when going through a listing you can never
mistake commented code for real stuff.  It is mostly those lines that
bite us.  Also if any programmer put initials in 1thru5 they bite also.
If the compiler doesn't like having anything in cc1-5 why does the
converter leave them there?

Thanks

Bill Barnes

Sr Analyst/Programmer

The Pantry, Inc

919-774-6700

ext 5211

--

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

Michael Ryan | 1 Dec 13:54 2006
Picon

Re: Converting to free form

Would you rather have the conversion process delete them and lose the
information?

On 12/1/06, Bill Barnes <bbarnes@...> wrote:
>
> I have noticed a couple of gotchas when converting.  If there are any
> characters in CC1-5 the conversion leaves them there and then the
> compile complains and you have to go and manually remove the characters
> in CC1-5.  We use RPGTOOLBOX extensively and one of the things we use it
> for is to color source lines that have been commented out to red.  In
> SEU this is extremely helpful when going through a listing you can never
> mistake commented code for real stuff.  It is mostly those lines that
> bite us.  Also if any programmer put initials in 1thru5 they bite also.
> If the compiler doesn't like having anything in cc1-5 why does the
> converter leave them there?
>
>
>
> Thanks
>
> Bill Barnes
>
> Sr Analyst/Programmer
>
> The Pantry, Inc
>
> 919-774-6700
>
> ext 5211
>
(Continue reading)

Buck | 1 Dec 15:24 2006
Picon

Re: Software Update options no longer available

> Under Help-->Software Updates, the only option I have is "IBM Rational
> Product Updater".  The other two options ("Find and Install" and "Manage
> Configuration") have disappeared.  I know that all 3 options were there
> prior to last week.  There is a 2nd PC here with WDSc and it has all 3
> options on it.
> 
> My operating system is at V5R4 and WDSc is at Version: 6.0.1 Build id:
> 20050725_1800.

I have all three on mine (same OS/WDSCi as you) but my 'Find & install) 
tells me 'The current configuration contains errors and this operation 
can have unpredictable results.'

   --buck
--

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

Samuel J Lennon | 1 Dec 18:36 2006
Picon

Re: Converting to free form

FWIW:  I've done all my conversions (from RPG III to RPG IV and from RPG IV 
to RPG /FREE) using Linoma RPGTOOLBOX product and its predecessors.  I think 
you will find it hard to beat and that anything that IBM provides "free" in 
WDSC will fall short.  I also drop back occasionally to the green screen to 
re-indent /FREE code using the RPGTOOLBOX.

IMHO, Linoma makes good products.

And the IBM WDSC team doesn't do a bad job either.  Gotta have my WDSC, but 
I stll use the green screen as needed.

Sam

>From: "Bill Barnes" <bbarnes@...>
>Reply-To: Websphere Development Studio Client for 
>iSeries<wdsci-l@...>
>To: <wdsci-l@...>
>Subject: [WDSCI-L] Converting to free form
>Date: Fri, 1 Dec 2006 07:50:44 -0500
>
>I have noticed a couple of gotchas when converting.  If there are any
>characters in CC1-5 the conversion leaves them there and then the
>compile complains and you have to go and manually remove the characters
>in CC1-5.  We use RPGTOOLBOX extensively and one of the things we use it
>for is to color source lines that have been commented out to red.  In
>SEU this is extremely helpful when going through a listing you can never
>mistake commented code for real stuff.  It is mostly those lines that
>bite us.  Also if any programmer put initials in 1thru5 they bite also.
>If the compiler doesn't like having anything in cc1-5 why does the
>converter leave them there?
(Continue reading)

GKern | 1 Dec 19:23 2006

Re: Debug Perspective question

IIRC, it used to work in a 5.x version but no longer works as of a 6.x 
version.

I hope it makes it back into the next service pack.

Regards, Jerry

Gerald Kern - MIS Project Leader
Lotus Notes/Domino Administrator
IBM Certified RPG IV Developer
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@...

This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged 
information. Any unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please inform the 
sender by reply e-mail and destroy this and all copies of this message.
--

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

(Continue reading)

Bill Barnes | 1 Dec 20:29 2006

Conversion to free form


message: 7
date: Fri, 1 Dec 2006 07:54:49 -0500
from: "Michael Ryan" <michaelrtr@...>
subject: Re: [WDSCI-L] Converting to free form

Would you rather have the conversion process delete them and lose the
information?

Bill responds...
The information is lost anyway because the compiler complains and then
it is extremely time consuming to go thru every line and manually delete
the offending characters.  Prior to V5R4 the compiler ignored anything
in cc1-5 now it doesn't.  My question still stands, if the compiler is
going to complain then the characters in cc1-5 should be either moved
and commented or deleted.  I like the conversion (for the most part) it
is this one point that just seems wrong. 

On 12/1/06, Bill Barnes <bbarnes@...> wrote:
>
> I have noticed a couple of gotchas when converting.  If there are any
> characters in CC1-5 the conversion leaves them there and then the
> compile complains and you have to go and manually remove the
characters
> in CC1-5.  We use RPGTOOLBOX extensively and one of the things we use
it
> for is to color source lines that have been commented out to red.  In
> SEU this is extremely helpful when going through a listing you can
never
> mistake commented code for real stuff.  It is mostly those lines that
(Continue reading)

Buck | 1 Dec 22:16 2006
Picon

Re: Conversion to free form

> The information is lost anyway because the compiler complains and then
> it is extremely time consuming to go thru every line and manually delete
> the offending characters.  Prior to V5R4 the compiler ignored anything
> in cc1-5 now it doesn't.  

There are several options available to you, all rely on the idea that 
you want to erase the first 5 columns.

Record keystrokes Home, space x 5, down arrow
Play it back over every line.

Use block overlay to overlay a hunk of spaces over the top of columns 
1-5.  (Alt-R, Alt-R, Alt-Z)

Use LLT5 on line 1, llt5 on the last line (sequence number commands) 
then RR5, RR.  This will shift all lines left 5 and truncate the first 5 
columns, then shift 'em all back.  You WILL get syntax errors, but 
they'll go away when you RR5 the lines back.

Go to the top, Alt-L, go to the bottom, Alt-L (select all lines as a 
block) then slowly use Alt-F7 to shift left -- Lpex will throw errors so 
you have to wait for the syntax checker to moan about your (now) crappy 
code before you ust Alt-F7 again.  Do that 5 times, then do Alt-F8 5 
times.  Alt-U when done.

Write a macro to do it.  (too much for me at the moment; I'd open it in 
Code and do it in Rexx.  That's not a gripe as much as an admission of 
my own laziness.)
   --buck
--

-- 
(Continue reading)

Violaine Batthish | 1 Dec 23:00 2006
Picon

Re: Conversion to free form

Hi Bill,

Would you consider that it is the compiler & syntax checker that is wrong,
rather than Remote Systems LPEX Editor's free-form conversion :-) ?
There are some PMRs open against the SQL precompiler (and apparently some
test PTFs available) for this issue.
As those folks are in a different team from WDSC, I recommend that you
contact IBM support, and if you are interested, request the test PTFs.

thanks,

Violaine Batthish
WebSphere Development Studio Client, IBM Toronto Lab

wdsci-l-bounces@... wrote on 12/01/2006 02:29:41 PM:

>
> Bill responds...
> The information is lost anyway because the compiler complains and then
> it is extremely time consuming to go thru every line and manually delete
> the offending characters.  Prior to V5R4 the compiler ignored anything
> in cc1-5 now it doesn't.  My question still stands, if the compiler is
> going to complain then the characters in cc1-5 should be either moved
> and commented or deleted.  I like the conversion (for the most part) it
> is this one point that just seems wrong.

--

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

Tyler, Matt | 2 Dec 00:54 2006

WDSC still retaining member locks with V5.4 system

To All,

            We recently upgrade our iSeries to 5.4 from 5.2 and I am now
having server job member lock issues.  I have been able to recreate the
issue of the sever jobs (QZRCSRVS) retaining member locks after the
editor has closed the member.  It happens in other situations but the
one described below is easy for me to recreate.  

            All I have to do is open more than one member for edit from
the iSeries.  Then I close them using C-S-F4 (Close all).  I then
attempt any function that needs the member exclusively, like opening any
of the locked members in SEU for edit.  I will receive a message about
the member in use. I can get this error if I highlight any of the
members locked previously and drag them to the edit view area. 

            I can release the locks by double-clicking on each member
that is locked or by highlighting all members, right-clicking on Open
with ... |  Remote Systems Lpex Editor.  

            The locks are particularly annoying when I am attempting to
promote changes into then next CMS environment.  I cannot immediately
tell I have a lock on a member before I perform the promotion step.  The
lock issue does not only happen when I use Close All feature.  It does
happen other times but I have not been able to notice a pattern, yet. 

Thanks, Matt

--

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

adrian | 2 Dec 00:59 2006
Picon

Re: Conversion to free form

You can fill an area with a character or string.  To blank it out: 
Alt+R, Alt+R to mark the area, then popup > Selected > Fill selection > 
SPACE, Enter.  Or: Alt+R, Alt+R > Esc > block fill, Enter.

Buck wrote:
> There are several options available to you, all rely on the idea that 
> you want to erase the first 5 columns.

--

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


Gmane