EPC - 132700

Date : Febuary 2015

EPC132700 for LANSA V13 SP2

  • Important V13 SP2 LANSA for the Web fixes.
ProductVisual LANSA and LANSA for i
Version13 SP2
Pre-Requisite Details132500
Related ProductsLANSA for the Web
Special NotesAll Version 13 Visual LANSA EPCs include updates that must be applied to Windows and IBM i systems (Independent Visual LANSA development environments only require the Windows updates). Failure to upgrade both sides of a development environment will render the Host Monitor and Super Server applications inoperable. Attempting to use the Host Monitor and Super Server applications without having applied the EPC to both sides of a development environment will generate an EPC mismatch error.

Make a full backup of your LANSA environment on each platform to which this EPC will be applied.
IBM i Specific Special NotesThe IBM i instructions are expedited procedures that assume a sound knowledge of IBM i.
You should use a user profile that is QSECOFR, part of the QSECOFR group, or, has *ALLOBJ and *SECADM special authorities.

You must end the web server and run the LANSA for the Web cleanup program before applying this EPC.

You must end the Listener and Host Monitor if active.

You must end the LANSA Integrator server if it has been used with the LANSA system to be updated.
User ActionsThere are no required user actions for this EPC.
Document UpdatesThis EPC does not deliver updated guides.

Changed guides for this EPC are available at http://www.lansa.com/support/docs/update.htm. Check the reason notes in the "Updated" column. 
HotfixesNo Hotfixes will be replaced by this EPC:

Instructions to install the EPC

EPC132700 includes software to be installed on an IBM i machine and on a Windows machine. These instructions describe the installation and use of all delivered items.

  1. Download EPC132700.EXE file from the Web site or email.
  2. Unzip (double click) EPC132700.EXE. These files will be extracted:
    • EPC132700 - IBM i Save file
    • EPC132700w.exe - Windows Visual LANSA install executable

Instructions provided for

Detailed changes

CCS id.Description
0152085Handle unsupported post content-type as application/x-www-form-urlencoded

Pre V13 SP2, the post content-type is effectively ignored and all posted data is assumed to be of type application/x-www-form-urlencoded.
V13 SP2 is changed to process posted data only of supported content-type.
This may break existing applications (normally AJAX type applications) that does POST request INCORRECTLY with some wrong content-type (e.g. text/html).
This old behaviour, that unsupported content-type is assumed to be application/x-www-form-urlencoded, is now reinstated.
But this becomes configurable and the default is to enable the tolerance of unsupported content-type.
This default is considered as deprecated and in future releases the tolerance may be disabled by default to improve the robustness of web server.
0152774
0152867
Browse lists data lost upon HTML timeout on IBM i

This defect has now been rectified

Affected objects

Object NameObject Type
lxqueue.dll\X_WIN64\X_LANSA\Execute
w3_p1200.exe\X_WIN64\X_LANSA\Execute
w3wsrvpgm.dll\X_WIN64\X_LANSA\Execute
Object NameObject TypeLibrary
W3@P1200*PGMLANSA program library
W3XSVPGM*SRVPGMLANSA program library
W3XSVPGV*SRVPGMLANSA program library
W3XS1000*SRVPGMLANSA program library

Install Instructions

  1. Sign on with QSECOFR user profile, part of the QSECOFR group or a user profile that has *ALLOBJ and *SECADM special authorities.
  2. Backup all the LANSA folders, system libraries and ALL the LANSA IFS objects (LANSA_pgmlib/x_lansa) before applying this EPC
  3. You need exclusive use of the LANSA system before applying the EPC. To check for active users refer to Appendix B How to check for Active Users in the Installing LANSA on IBM i guide for instructions.
  4. End the Listener, Host Monitor and Web Server for the LANSA system and run the LANSA for the Web cleanup program.
  5. Move the unzipped file EPC132700 to an IFS folder on the IBM i ( e.g. /LANSA_pgmlib/tmp/epc132700 )
  6. For this EPC use the following options:
    1. Install the EPC from = *IFS
    2. Apply this EPC to = FULL_LANSA_SYSTEM
  7. Run the following command before the LOADEPC command to avoid having to add the LANSA program library to the jobs library list.
    CHGCMD CMD(pgmlib/LOADEPC) PGM(pgmlib/DC@LCP120)
  8. Run the command LOADEPC with the following parameters:

    pgmlib
    /LOADEPC and press command 4 (F4) to prompt the command (can be run in batch)

    EPC number . . . . . . . . . . . > 132700
    Install the EPC from . . . . . . >*IFS
    IFS Path and object name . . . .e.g./LANSA_pgmlib/tmp/epc132700

    Apply this EPC to . . . . . . . FULL_LANSA_SYSTEM
    LANSA program library . . . . . pgmlib
  9. Sign off and then on again before commencing the next installation, e.g.:
    • to apply this EPC on another LANSA system
    • to apply another EPC on the same LANSA system

The command LOADEPC is now available in the LANSA web server Admin library. Use the following instructions.

  1. If you haven't installed or upgraded LANSA for the Web on the Web Server, do so before proceeding with step 2.
  2. Backup all the LANSA folders, system libraries and ALL the LANSA IFS objects (LANSA_admlib/x_lansa) before applying this EPC
  3. End the Web Server and run the LANSA for the Web cleanup program. Refer to 13.5.6 Clean Up Systems in the LANSA Online documentation for cleanup instructions.
  4. Display your current library list. If QTEMP is not shown, then add it to your library list using the ADDLIBLE (add library list entry) command.
  5. Move the unzipped file EPC132700 to an IFS folder on the IBM i. ( e.g. /LANSA_admlib/tmp/epc132700)
  6. For this EPC use the following options:
    1. Install the EPC from = *IFS
    2. Apply this EPC to = LANSA_WEB_SERVER
  7. Run the command LOADEPC with the following parameters:

    CHGCMD CMD(admlib/LOADEPC) PGM(admlib/DC@LCP120)

    admlib/LOADEPC and press command 4 (F4) to prompt the command (can be run in batch)

    EPC number . . . . . . . . . . . > 132700
    Install the EPC from . . . . . . > *IFS
    IFS Path and object name . . . . e.g. /LANSA_admlib/tmp/epc132700

    Apply this EPC to . . . . . . . LANSA_WEB_SERVER
    LANSA web server admin lib . . . . . admlib
  8. Save and then delete the backout library (iiiEPCnn where iii = 1st three characters of the LANSA pgm library and nn is sequence number) created by the install. The contents of the library may be used to backout this EPC and return your system to its previous state.
  9. Sign off and then on again before commencing the next installation, e.g.:
    • to apply this EPC on another LANSA system
    • to apply another EPC on the same LANSA system
  1. Recommend that a backup be done of all LANSA folders and your LANSA database before applying this EPC.
  2. Stop using the LANSA development environment and stop all currently executing LANSA applications.
  3. Double-click on AllEPCs.exe. Note: On later versions of Windows, for example Windows 8.1, you will need to right click and 'Run as Administrator'.
  4. Select the "Setup" button or "Cancel" if you do not want to proceed.
  5. If you have multiple configurations installed, Select the configuration to which the EPC is to be applied.
  6. If you are prompted to reboot your pc - please reboot.
  7. To view details of the installed EPCs:
    1. sign into LANSA
    2. view the Help menu
    3. Product Information option
    4. then select the Installation Details tab
    5. expand the Installation/ EPC Summary
    6. review the last entries

© 2013 LANSA