Register FAQ Memberlist Search Linoma Software Forum Index

Linoma Software Forum Index -> RPG Toolbox -> Version 3.50 (3/22/2006)
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Version 3.50 (3/22/2006)
PostPosted: 03/22/06 02:56:19 PM Reply with quote
Support
Site Admin
 
Joined: 12 Mar 2004
Posts: 378
Location: Omaha, NE


If you already have the RPG Toolbox installed on your iSeries (AS/400) and
want to see your current installed version, run the command:

DSPDTAARA RPGTOOLBOX/VERSION

******************************************************************************

----------------------------------------------------
| Please read the RPG Toolbox Manual for complete |
| details on any of the enhancements listed below. |
----------------------------------------------------

VERSIONS IN DESCENDING ORDER:

Version 3.50 (3/10/2006)

ENHANCE: SNIPPETS - Created new category of snippets (called SQL) for
helping programmers to create embedded SQL operations within
RPG IV. New snippet names are SQLSEL1, SQLSEL2, SQLSEL3, SQLSEL4,
SQLDEL1, SQLUPD1, and SQLINS1. Snippets can be inserted with the
IX line command in SEU.

ENHANCE: SNIPPETS - Enhanced the MONITOR snippet to include the ON-ERROR
and ENDMON options.

ENHANCE: SNIPPETS - Added a new snippet for the %SUBARR built-in-function.

ENHANCE: SEUPLUS - Added new SEU line commands of MX and MXB, which allows
the user to convert a single line or a block of lines to
mixed case.
// Before
MOVE TEST ORDERS
// After
Move Test Orders

ENHANCE: SEUPLUS - When using a line command (i.e. DFD, SFE, SOP) that acts
upon a file name, correctly identify the file name within
free-form RPG source. Works with the operations of CHAIN, READ,
READE, SETLL, SETGT, READP, READPE, WRITE, UPDATE, OPEN and CLOSE.

ENHANCE: SEUPLUS - Enhanced the CMTB (Comment block) line command so user
comments are ignored when commenting or reactivating logic.

ENHANCE: RPGWIZ - When CVTDO(*YES) is specified to convert DO to FOR
operations: If an index variable is not specified within the
result field of the DO operation, then the index variable will be
defaulted to the name of DO_X within the FOR operation.

// Before
C DO 20
C ENDDO

// After
C FOR DO_X = 1 to 20
C ENDFOR

ENHANCE: RPGWIZ - When CVTMOVEA(*YES) is specified, additionally convert
MOVEA operations which move constants across multiple array
elements.

// Before
C MOVEA '101' *IN(50)

// After
C EVAL *IN(50) = *ON
C EVAL *IN(51) = *OFF
C EVAL *IN(52) = *ON

ENHANCE: RPGWIZ - When CALCFLD(*YES) is specified, additionally convert
calculation-defined data areas into the D specifications.

// Before
C *DTAARA DEFINE ORDNBR ORDERN 4 0

// After
D ORDERN S 4 0 DTAARA(ORDNBR)


ENHANCE: RPGWIZ - Convert MOVE opertion if factor 2 is *BLANK(S) and the
result field is a data structure.
// Before
MOVE *BLANK DS1
// After
EVAL DS1 = *BLANK

FIX: During the product upgrade process, retain any user-specified
defaults that were specified on the CHGDFT (Change RPG Wizard
Default) command.

FIX: When indenting or documenting nested logic, support the error
monitoring opcodes of MONITOR, ON-ERROR and ENDMON. Commands of
DSPIND, DOCNST and INDNST were modified. SEU line commands of DI
and LI were modified.

FIX: RPGWIZ - When compressing expressions with CMPEXP(*YES) specified,
increase the allowed expression size from 999 to 9999 characters.

FIX: RPGWIZ - Do not convert a MVR to a %REM if the corresponding DIV
statement contained decimal positions in factor 1 or factor 2.

FIX: RPGWIZ - When retrieving field attributes (types/lengths) during
the conversion process, do not attempt to retrieve attributes
for SQL reserved fields (i.e. SQLCOD, SQLERR, etc).

FIX: RPGWIZ - When retrieving field definitions, key lists and parameter
lists, specify INDENT(*NONE) when creating the compile listing.

Version 3.23 (2/13/2006)

FIX: RPGWIZ - When converting source which already contains free-form,
make sure asterisk comments immediately following an existing
/END-FREE are converted to the slashes (//) free style.

FIX: RPGWIZ - Within embedded SQL, do not perform a case conversion of
constants enclosed within double quotes (ie. "FileName").

Version 3.22 (9/13/2005)

FIX: RPGWIZ - When converting MOVEA operations: If Factor2 is the
same length as the Result field (array element), then do not use
a FOR loop to assign the values. Instead, use a simple Eval:
// Before
MOVEA CHAR2 ARRAY2(X)
// After
EVAL ARRAY2(X) = CHAR2

FIX: RPGWIZ - If a WRITE opcode has an EOF indicator and FILEBIF(*YES)
or FILEBIF(*YES2) is specified, then insert the %eof bif.

FIX: RPGWIZ - Do not convert the SCAN, CHECK or CHECKR opcodes if the
result field is an array, since it produces different behavior.

FIX: RPGWIZ - Do not use the %date bif when converting a MOVE operation
with date fields in both factor 2 and the result field, even if the
date fields have different formats (ie *YMD to *USA). For instance:
// Before
MOVE USAdate YMDdate
// After
EVAL YMDdate = USAdate

FIX: RPGWIZ - When converting a MOVEA operation with a '1' or '0' in
factor 2 and an indicator element in the result field, do not use
a FOR loop. Instead, use a simple EVAL. For instance:
// Before
MOVEA '1' *IN(50)
// After
EVAL *IN(50) = *ON

FIX: RPGWIZ - Do not convert a DIV statement if 1) the same field name
is specified in factor 1 and the result and 2) if its followed
by a MVR.

FIX: RPGWIZ - When converting LOOKUP to %LOOKUP, if the operation had
result indicators and long field names, make sure the EVAL
opcode is retained within the new IF structure.

ENHANCE: RPGWIZ - Changed intro screen when evaluating RPGWIZ with new
address and phone numbers.

FIX: RPGWIZ - When converting CALLs to CALLPs with CVTCALL(*YES), then
retain any CALL statements which have an undefined parameter
list name.

FIX: RPGWIZ - When converting CALLs to CALLPs with CVTCALL(*YES), then
do not create a prototype name that is the same name as an
existing PLIST name. Instead, append a sequential number to the
prototype name.
View user's profile Send private message Send e-mail Visit poster's website
Version 4.01 (12/18/2007)
PostPosted: 12/18/07 04:50:04 PM Reply with quote
Support
Site Admin
 
Joined: 12 Mar 2004
Posts: 378
Location: Omaha, NE


******************************************************************************
If you already have the RPG Toolbox installed on your iSeries (AS/400) and
want to see your current installed version, run the command:

DSPDTAARA RPGTOOLBOX/VERSION

******************************************************************************

----------------------------------------------------
| Please read the RPG Toolbox Manual for complete |
| details on any of the enhancements listed below. |
----------------------------------------------------

VERSIONS IN DESCENDING ORDER:

Version 4.01 (12/18/2007)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ A new product license key is required when upgrading from a prior +
+ version of the RPG Toolbox. Please contact Linoma Software at +
+ sales@linomasoftware.com to request a new product license key. +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

FIX: CLNRPG: When finding unused Prototypes, do not remove Entry
Prototypes out of the D specs. These are the Prototypes which
have the same name as the program name.

FIX: CLNRPG: When removing unused KLISTs, also remove any related
KFLD source lines.

FIX: CLNRPG: When finding unused stand-alone work fields for member
types of SQLRPGLE, do not remove those work fields which are
referenced in EXEC SQL statements.

FIX: RPGWIZ: When EXAMINEFLD(*YES) is specified on the conversion of a
member type of SQLRPG or SQLRPGLE, find the field types/lengths
for the compiler-generated SQL* fields (ie SQLCODE).

FIX: SEUPLUS: When examining a field with the F7 key, RV or RVK
command, find the field types/lengths for the compiler-generated
SQL* fields (ie SQLCODE).

Version 4.00 (11/15/2007)

ENHANCE: Added a new command named CLNRPG (Clean RPG Source). This command
will find, and optionally remove, unused definitions and logic
found within RPG IV (RPGLE and SQLRPGLE) programs.

CLNRPG can be configured to remove unused stand-alone work fields,
subroutines, prototypes, key lists, parameter lists and tags.

By removing unused definitions and logic from your RPG programs,
these programs will compile faster and run more efficiently. The
programs will also be easier to maintain and test since you won?t
have to work with unused source code.

The CLNRPG command has two different actions. The first action
called *INSPECT will generate a report of unused definitions and
logic in the program, but will not remove any source code. The
second action called *CLEAN will generate a report and will
additionally remove the unused definitions and logic from the
source code. The removed definitions and logic will be placed
into a Recycle Bin source file (which you can specify the name of).

You can run the CLNRPG command from a command line, PDM or WDSc.

The command is named RPGTOOLBOX/CLNRPG. You can create a PDM
option for the command using the RPGTOOLBOX/CRTOPT command. If
you use WDSc, you can launch the command by configuring a custom
compile option.

After the CLNRPG command is prompted, press F1 on any parameter
for more help.

ENHANCE: RPGWIZ - For i5/OS version V5R4 and higher, convert embedded SQL
to its /FREE form equivalent when converting to free-form.

// Before
C/EXEC SQL
C+ SELECT * INTO :DS_OEPCM FROM OEPCM WHERE CMCUST = :CUST
C/END-EXEC

// After
EXEC SQL SELECT * INTO :DS_OEPCM FROM OEPCM WHERE CMCUST = :CUST

ENHANCE: RPGWIZ - Included instructions in the manual on how to launch the
RPG Toolbox commands from WebSphere Development Studio Client (WDSc)
by creating your own custom compile commands within the Remote
System Explorer.

ENHANCE: RPGWIZ - For i5/OS release V5R3 and higher, convert the TIME opcode
to %dec(%time) if the result field is numeric and 6,0 in length.

// Before
C time currtime 6 0

// After
currtime = %dec(%time);

ENHANCE: RPGWIZ - When in trial mode, allow running RPGWIZ in batch and from
within WDSc (WebSphere Development Studio client).

ENHANCE: INDENT - Added new parameter to INDNST (Indent Nested Logic) command
to allow user to specify the starting column number for the
free form source code. Valid starting columns are from 8 to 30.

ENHANCE: SNIPPETS - Added new snippets for the %HANDLER and %XML
built-in-functions which came out in V5R4. These snippets can be
inserted using the SEU PLUS line command of IX.

ENHANCE: Delete compile listing if no errors/warnings found during a RPGWIZ
conversion and when fields retrieved with RV line command.

FIX: INDENT - Ignore constants (surrounded by quotes) when determining
the start of a new nesting group. For instance, do not consider
a 'FOR' contained within quotes as a true FOR statement.

FIX: RPGWIZ - When converting to /Free form, do not add paraenthesis ()
after a prototype call when the ( starts on the next line.

// Before
C callp protoA
C*
C callp protoB
C (parm1 : parm2)

// After
protoA ();

protoB
(parm1 : parm2);

FIX: RPGWIZ - Convert left hand indicators on RETURN statements.

// Before
C LR return

// After
if *inlr = *on;
return;
endif;

FIX: INDENT - When indenting source code, do not indent source code
under a embedded SQL SELECT statment.

FIX: RPGWIZ - When redefining data structure fields, retain the comments
in positions 1-5.

NOTE: RPG Toolbox works on i5/OS release V5R1 and higher.

Version 3.52 (11/12/2006)

FIX: RPGWIZ - Calculate field lengths properly for constants which
contain double quotes. For instance the length of the constant
of '123''' is 4.

FIX: RPGWIZ - Do not convert IF statements that contain *ON or *OFF
in both factor 1 and factor 2. For instance, *ON *IFEQ *OFF will
not convert.

Version 3.51 (4/10/2006)

FIX: Ignore embedded SQL statements When determining the level
of nested logic.

FIX: When CVTKLIST(*YES) is specified, properly convert a key list
(into a data structure) which is at the very bottom of a program.
View user's profile Send private message Send e-mail Visit poster's website
Version 3.50 (3/22/2006)
  Linoma Software Forum Index -> RPG Toolbox
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 6 Hours  
Page 1 of 1  

  
  
 This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.  



Powered by phpBB 2.0.6 © 2001-2003 phpBB Group Style created by Vjacheslav Trushkin