Difference between revisions of "Spectrum Release 2015.2.0"

From Vital Soft Wiki
Jump to: navigation, search
>Johno
(Vital Signs Changes)
>Johno
(Vital Signs Changes)
 
(6 intermediate revisions by 2 users not shown)
Line 23: Line 23:
 
:*%FZIP - Returns MEMBER-FILE.ZIP as a formatted zip code.
 
:*%FZIP - Returns MEMBER-FILE.ZIP as a formatted zip code.
 
:*%CVT-FZIP(insert-zip) - Returns a formatted zip code for the specified field, for example %CVT-FZIP(ADDRESS-INFO.ZIP).
 
:*%CVT-FZIP(insert-zip) - Returns a formatted zip code for the specified field, for example %CVT-FZIP(ADDRESS-INFO.ZIP).
::These macros will return a zero filled US zip-code (5 or 9 digits whatever is stored in the database) or an international zip-code.  US 9 digit zip-codes are formatted 12345-4321 if the zip-code is numeric and exactly 9 digits long, otherwise the macro returns the zip-code as it is stored in the database.
+
::These macros will return a zero filled US zip-code (5 or 9 digits whatever is stored in the database) or an international zip code.  US 9 digit zip codes are formatted 12345-4321 if the zip code is numeric and exactly 9 digits long, otherwise the macro returns the zip code as it is stored in the database.
  
 
:*%ZIP5 - Returns MEMBER-FILE.ZIP as a '''5 digit zip code'''.
 
:*%ZIP5 - Returns MEMBER-FILE.ZIP as a '''5 digit zip code'''.
 
:*%CVT-ZIP5(insert-zip) - Returns a '''5 digit zip code''' for the specified field, for example %CVT-ZIP5(ADDRESS-INFO.ZIP).
 
:*%CVT-ZIP5(insert-zip) - Returns a '''5 digit zip code''' for the specified field, for example %CVT-ZIP5(ADDRESS-INFO.ZIP).
::These macros will return a zero filled US '''5 digit''' zip-code.  If the zip-code is numeric and exactly 5 or 9 digits long, the first 5 digits will be returned, otherwise the macro returns 0 for all other zip-codes.  An incorrectly entered US zip-code that is not 5 or 9 digits long will return 0.  International (non-numeric) zip-codes will also return 0.
+
::These macros will return a zero filled US '''5 digit''' zip code.  If the zip-code is numeric and exactly 5 or 9 digits long, the first 5 digits will be returned, otherwise the macro returns 0 for all other zip codes.  An incorrectly entered US zip code that is not 5 or 9 digits long will return 0.  International (non-numeric) zip codes will also return 0.
  
 
:*%ZIP9 - Returns MEMBER-FILE.ZIP as a '''9 digit zip code'''.
 
:*%ZIP9 - Returns MEMBER-FILE.ZIP as a '''9 digit zip code'''.
 
:*%CVT-ZIP9(insert-zip) - Returns a '''9 digit zip code''' for the specified field, for example %CVT-ZIP9(ADDRESS-INFO.ZIP).
 
:*%CVT-ZIP9(insert-zip) - Returns a '''9 digit zip code''' for the specified field, for example %CVT-ZIP9(ADDRESS-INFO.ZIP).
::These macros will return a zero filled US '''9 digit''' zip-code with '''no formatting'''.  If the zip-code is numeric and exactly 5 digits, the 5 digit zip-code plus 4 zeros will be returned.  If the zip-code is numeric and exactly 9 digits long, the full 9 digits will be returned, otherwise the macro returns 0 for all other zip-codes.  An incorrectly entered US zip-code that is not 5 or 9 digits long will return 0.  International (non-numeric) zip-codes will also return 0.
+
::These macros will return a zero filled US '''9 digit''' zip code with '''no formatting'''.  If the zip code is numeric and exactly 5 digits, the 5 digit zip code plus 4 zeros will be returned.  If the zip code is numeric and exactly 9 digits long, the full 9 digits will be returned, otherwise the macro returns 0 for all other zip codes.  An incorrectly entered US zip code that is not 5 or 9 digits long will return 0.  International (non-numeric) zip codes will also return 0.
  
 
:'''The following new macros were added:'''
 
:'''The following new macros were added:'''
:These macros should be used to format zip-code fields that have '''not been changed''' and are still stored in the database using numeric fields.  These zip-code fields have been renamed in the database as ZIP-CODE.
+
:*%FZIP5 - Returns MEMBER-FILE.ZIP as a formatted 5 digit zip code (for US zip codes) or the original value for international ones.
 +
:*%CVT-FZIP5(insert-zip) - Returns a formatted 5 digit zip code for the specified field or an unformatted international zip, for example %CVT-FZIP5(ADDRESS-INFO.ZIP).
 +
::These macros will return a 5 digit US zip code (regardless of whether the zip is 5 or 9 digits in the database) or an international zip code.
 +
 
 +
:*%FZIP9 - Returns MEMBER-FILE.ZIP as a formatted 9 digit zip code (for US zip codes) or the original value for international ones.
 +
:*%CVT-FZIP5(insert-zip) - Returns a formatted 9 digit zip code for the specified field or an unformatted international zip, for example %CVT-FZIP9(ADDRESS-INFO.ZIP).
 +
::These macros will return a hyphenated 9 digit US zip code (regardless of whether the zip is 5 or 9 digits in the database) or an international zip code.
 +
 
 +
:'''The following old macros were renamed:'''
 +
:These macros should be used to format zip code fields that have '''not been changed''' and are still stored in the database using numeric fields.  These zip code fields have been renamed in the database as ZIP-CODE.
  
 
:*%CVT-FZIP-OLD(insert-zip) - Returns a formatted zip code for the field, for example %CVT-FZIP-OLD(BRANCH-FILE.ZIP-CODE).
 
:*%CVT-FZIP-OLD(insert-zip) - Returns a formatted zip code for the field, for example %CVT-FZIP-OLD(BRANCH-FILE.ZIP-CODE).
::If the macro is 5 or less digits, returns a zero-filled 5 digit zip-code, otherwise it returns a zero-filled 9 digit zip-code formatted as 12345-4321.
+
::If the macro is 5 or less digits, returns a zero-filled 5 digit zip code, otherwise it returns a zero-filled 9 digit zip code formatted as 12345-4321.
  
 
:*%CVT-ZIP5-OLD(insert-zip) - Returns a '''5 digit''' zip code for the field, for example %CVT-ZIP5-OLD(BRANCH-FILE.ZIP-CODE).
 
:*%CVT-ZIP5-OLD(insert-zip) - Returns a '''5 digit''' zip code for the field, for example %CVT-ZIP5-OLD(BRANCH-FILE.ZIP-CODE).
::Returns a zero-filled 5 digit zip-code.  If the zip-code is more than 5 digits, the last 4 digits will be removed.
+
::Returns a zero-filled 5 digit zip code.  If the zip code is more than 5 digits, the last 4 digits will be removed.
  
 
:*%CVT-ZIP9-OLD(insert-zip) - Returns a '''9 digit''' zip code for the field, for example %CVT-ZIP9-OLD(BRANCH-FILE.ZIP-CODE).
 
:*%CVT-ZIP9-OLD(insert-zip) - Returns a '''9 digit''' zip code for the field, for example %CVT-ZIP9-OLD(BRANCH-FILE.ZIP-CODE).
::Returns a zero-filled 9 digit zip-code.  If the zip-code is 5 or less digits, the zip-code will be padded with 4 zeros.  The string is not formatted.
+
::Returns a zero-filled 9 digit zip code.  If the zip code is 5 or less digits, the zip code will be padded with 4 zeros.  The string is not formatted.
  
 
:*%MEM-CSZ-OLD - Returns the MEMBER-FILE CITY-STATE-ZIP in the format "CITY (max 16 chars), ST (max 2 chars) ZIP"
 
:*%MEM-CSZ-OLD - Returns the MEMBER-FILE CITY-STATE-ZIP in the format "CITY (max 16 chars), ST (max 2 chars) ZIP"
::This macro should only be used if you want to truncate the CSZ to a maximum of 31 chars.  The macro uses at most 16 chars of the CITY name and at most 2 chars of the STATE followed by the formatted zip-code using %FZIP.
+
::This macro should only be used if you want to truncate the CSZ to a maximum of 31 chars.  The macro uses at most 16 chars of the CITY name and at most 2 chars of the STATE followed by the formatted zip code using %FZIP.
  
 
===AskPlus Job Changes===
 
===AskPlus Job Changes===
Line 94: Line 103:
  
 
:*Edit the file '''scripts/VSLOAD-MBRFILE''' and change:
 
:*Edit the file '''scripts/VSLOAD-MBRFILE''' and change:
 +
<blockquote>
 
<pre>
 
<pre>
 
# Near line 180
 
# Near line 180
Line 105: Line 115:
 
             IF (MEMBER-FILE.ZIP > 99999)
 
             IF (MEMBER-FILE.ZIP > 99999)
 
</pre>
 
</pre>
:To:
+
</blockquote>
 +
::To:
 +
<blockquote>
 
<pre>
 
<pre>
 
newreg MBR-ZIP:X10
 
newreg MBR-ZIP:X10
Line 113: Line 125:
 
#MBR-ZIP+4 = %FZIP
 
#MBR-ZIP+4 = %FZIP
 
</pre>
 
</pre>
 +
</blockquote>
  
 
:*Edit the file '''scripts/VSLOAD-LNFILE''' and change:
 
:*Edit the file '''scripts/VSLOAD-LNFILE''' and change:
 +
::(''Updated Oct 9, 2015'')
 +
<blockquote>
 
<pre>
 
<pre>
 
# Near line 190
 
# Near line 190
 
D1, STATE                    , 1
 
D1, STATE                    , 1
 
</pre>
 
</pre>
:To:
+
</blockquote>
 +
::To:
 +
<blockquote>
 
<pre>
 
<pre>
D1, STATE-2                  , 1
+
newreg STATE:X2
 +
#STATE = STATE-2
 +
D1, #STATE                   , 1
 
</pre>
 
</pre>
 +
</blockquote>
  
 
:*Edit the file '''scripts/VSLOAD-LOOKUP''' and change:
 
:*Edit the file '''scripts/VSLOAD-LOOKUP''' and change:
 +
::(''Updated Oct 9, 2015'')
 +
<blockquote>
 
<pre>
 
<pre>
 
# Near line 23
 
# Near line 23
Line 131: Line 153:
 
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP / 10000), if ZIP > 99999
 
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP / 10000), if ZIP > 99999
 
</pre>
 
</pre>
:To:
+
</blockquote>
 +
::To:
 +
<blockquote>
 
<pre>
 
<pre>
 
#BR-CSZ    = !propername(CITY-16) splice "," join STATE-2
 
#BR-CSZ    = !propername(CITY-16) splice "," join STATE-2
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE), if ZIP <= 99999
+
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE), if ZIP-CODE <= 99999
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE / 10000), if ZIP > 99999
+
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE / 10000), if ZIP-CODE > 99999
 
</pre>
 
</pre>
 +
</blockquote>
  
 
:*Custom Changes:
 
:*Custom Changes:
Line 144: Line 169:
 
::During the 2015.2 VUP foreign addresses stored in ADDRESS-LINES(3) (MEMBER-FILE and ADDRESS-INFO) will be moved into the CITY, STATE and ZIP fields.  Contact Vital Soft support if you would like to perform the same logic to the existing (previously extracted) MBRFILE and ADDRINFO QVD files.  This QVD update process has not been written yet, but we can make it available if clients request it.
 
::During the 2015.2 VUP foreign addresses stored in ADDRESS-LINES(3) (MEMBER-FILE and ADDRESS-INFO) will be moved into the CITY, STATE and ZIP fields.  Contact Vital Soft support if you would like to perform the same logic to the existing (previously extracted) MBRFILE and ADDRINFO QVD files.  This QVD update process has not been written yet, but we can make it available if clients request it.
  
:*Testing Vital Signs Script Changes:
+
More information on [[Testing Vital Signs Script Changes]] for the Spectrum 2015.2 release.
::The new script files can be tested using the JVSLOAD_MBRSHLN extract job.  You will need to make a few temporary changes prior to running the job.
 
::1. Edit vsrvtcp.ini and update one of the restore profiles:
 
:::The standard vsdata_restore profile should look something like this:
 
<pre>
 
[vsdata_restore]
 
  login=botest
 
  Directory=/var/summit/spectrum/TEST/vsdata
 
  TEMP=/var/summit/spectrum/TEST/vsdata/temp
 
  EQ_DBSERVER=localhost:eloq-TEST
 
  script_path=/ASKPLUS/vsdata/scripts
 
  custom_path=/ASKPLUS/vsdata/custom/live
 
  Vmgr=/ASKPLUS/vsdata/custom/live/vmgr_eom
 
</pre>
 
:::Verify that the [vsdata_restore] profile exists and that it is referencing the correct Eloquence instance.
 
::2. Edit the vitalsigns.ini file and disable the ftp process:
 
:::Edit /ASKPLUS/vsdata/vitalsigns.ini and comment out the VS_HOSTIP
 
<pre>
 
#VS_HOSTIP=192.168.1.79
 
</pre>
 
::3. Setup the new macro definition file:
 
:::Replace the macro definition file with the new macrodef.samp file.  There is no need to rebuild the macro file, the JVSLOAD jobs rebuild the macro file automatically each time they are run.
 
<pre>
 
cd /ASKPLUS/visimage
 
cp macrodef macrodef_vs.save
 
cp macrodef.samp macrodef
 
</pre>
 
::4. Backup the existing scripts files and then copy the new script files in place:
 
<pre>
 
cd /ASKPLUS/vsdata/scripts
 
cp VSLOAD-MBRFILE VSLOAD-MBRFILE_vs.save
 
cp VSLOAD-LOANFILE VSLOAD-LNFILE_vs.save
 
cp VSLOAD-LOOKUP VSLOAD-LOOKUP_vs.save
 
cp VSLOAD-MBRFILE.2015.02 VSLOAD-MBRFILE
 
cp VSLOAD-LNFILE.2015.02 VSLOAD-LNRFILE
 
cp VSLOAD-LOOKUP.2015.02 VSLOAD-LOOKUP
 
# Backup and copy any custom files that you edited.
 
</pre>
 
::5. Launch the JVSLOAD_MBRSHLN extract:
 
:::Make a copy of your existing UC4 job that runs the daily JVSLOAD_MBRSHLN extract.  The job needs to run using the restore parameter as follows:
 
<pre>
 
/VSJOBS/JVSLOAD_MBRSHLN restore CYMD
 
# Where CYMD is today's date.  For example, 20150922
 
</pre>
 
:::Since we disabled the VS_HOSTIP in the vitalsigns.ini, the job should fail when it attempts to ftp the files to the Vital Signs server.  If the job makes it to the FTP stage without any errors then the test is successful.
 
::6. Reset the changes back for tonight's run:
 
:::*Edit /ASKPLUS/vsdata/vitalsigns.ini and remove the comment from VS_HOSTIP.
 
:::*Reset the macro file.
 
<pre>
 
cd /ASKPLUS/visimage
 
cp macrodef_vs.save macrodef
 
</pre>
 
:::*Reset the script files.
 
<pre>
 
cd /ASKPLUS/vsdata/scripts
 
cp VSLOAD-MBRFIE_vs.save VSLOAD-MBRFILE
 
cp VSLOAD-LNFILE_vs.save VSLOAD-LOANFILE
 
cp VSLOAD-LOOKUP_vs.save VSLOAD-LOOKUP
 
# Restore any custom files that you edited.
 
</pre>
 

Latest revision as of 17:10, 9 October 2015

Spectrum Release 2015.2.0

In the 2015.02 Spectrum release Fiserv enhanced the database structure and made data changes to handle international addresses. The modifications which affect AskPlus, Visimage and Vital Signs are changes to CITY, STATE and ZIP:

  • In some datasets the CITY field has been expanded to 20 chars, while in other datasets it has been renamed to CITY-16.
  • The STATE field was also expanded to 4 chars in some datasets, when not expanded it was renamed to STATE-2.
  • In some datasets the ZIP field was changed from an integer to an X10 field. Data in those fields has been reformatted to include leading zeros. In sets where no change was made, the field was renamed to ZIP-CODE.

In the MEMBRS database, changes were made to MEMBER-FILE and ADDRESS-INFO. Fields in the following datasets were renamed: BRANCH-FILE, CREDITOR-FILE, ESCROW-MASTER, VEHICLE-INFO and ENTITIES.

In the MEMBR2 database, changes were made to DRAFT-ORDERS (both STATE and ALT-STATE). Fields in the following datasets were renamed: INVESTOR-MASTER and COLLECT-AGENCY.

Refer to the Spectrum 2015.2.0 Release Notes for more information.

AskPlus/Visimage Macro Changes

Several AskPlus macros have been modified to correctly handle the database changes. It was not possible to make all of the new macro definitions backwards compatible with the pre 2015.2.0 database structure. Therefore, after installing 2015.2.0 you must rebuild the macro file using the new macro definition file. AskPlus jobs and Visimage contexts that use these address macros will not need to be changed provided the macro file is rebuilt.

The following links provide more information on installing and testing macro files:
The following macros were changed:
  • %FZIP - Returns MEMBER-FILE.ZIP as a formatted zip code.
  • %CVT-FZIP(insert-zip) - Returns a formatted zip code for the specified field, for example %CVT-FZIP(ADDRESS-INFO.ZIP).
These macros will return a zero filled US zip-code (5 or 9 digits whatever is stored in the database) or an international zip code. US 9 digit zip codes are formatted 12345-4321 if the zip code is numeric and exactly 9 digits long, otherwise the macro returns the zip code as it is stored in the database.
  • %ZIP5 - Returns MEMBER-FILE.ZIP as a 5 digit zip code.
  • %CVT-ZIP5(insert-zip) - Returns a 5 digit zip code for the specified field, for example %CVT-ZIP5(ADDRESS-INFO.ZIP).
These macros will return a zero filled US 5 digit zip code. If the zip-code is numeric and exactly 5 or 9 digits long, the first 5 digits will be returned, otherwise the macro returns 0 for all other zip codes. An incorrectly entered US zip code that is not 5 or 9 digits long will return 0. International (non-numeric) zip codes will also return 0.
  • %ZIP9 - Returns MEMBER-FILE.ZIP as a 9 digit zip code.
  • %CVT-ZIP9(insert-zip) - Returns a 9 digit zip code for the specified field, for example %CVT-ZIP9(ADDRESS-INFO.ZIP).
These macros will return a zero filled US 9 digit zip code with no formatting. If the zip code is numeric and exactly 5 digits, the 5 digit zip code plus 4 zeros will be returned. If the zip code is numeric and exactly 9 digits long, the full 9 digits will be returned, otherwise the macro returns 0 for all other zip codes. An incorrectly entered US zip code that is not 5 or 9 digits long will return 0. International (non-numeric) zip codes will also return 0.
The following new macros were added:
  • %FZIP5 - Returns MEMBER-FILE.ZIP as a formatted 5 digit zip code (for US zip codes) or the original value for international ones.
  • %CVT-FZIP5(insert-zip) - Returns a formatted 5 digit zip code for the specified field or an unformatted international zip, for example %CVT-FZIP5(ADDRESS-INFO.ZIP).
These macros will return a 5 digit US zip code (regardless of whether the zip is 5 or 9 digits in the database) or an international zip code.
  • %FZIP9 - Returns MEMBER-FILE.ZIP as a formatted 9 digit zip code (for US zip codes) or the original value for international ones.
  • %CVT-FZIP5(insert-zip) - Returns a formatted 9 digit zip code for the specified field or an unformatted international zip, for example %CVT-FZIP9(ADDRESS-INFO.ZIP).
These macros will return a hyphenated 9 digit US zip code (regardless of whether the zip is 5 or 9 digits in the database) or an international zip code.
The following old macros were renamed:
These macros should be used to format zip code fields that have not been changed and are still stored in the database using numeric fields. These zip code fields have been renamed in the database as ZIP-CODE.
  • %CVT-FZIP-OLD(insert-zip) - Returns a formatted zip code for the field, for example %CVT-FZIP-OLD(BRANCH-FILE.ZIP-CODE).
If the macro is 5 or less digits, returns a zero-filled 5 digit zip code, otherwise it returns a zero-filled 9 digit zip code formatted as 12345-4321.
  • %CVT-ZIP5-OLD(insert-zip) - Returns a 5 digit zip code for the field, for example %CVT-ZIP5-OLD(BRANCH-FILE.ZIP-CODE).
Returns a zero-filled 5 digit zip code. If the zip code is more than 5 digits, the last 4 digits will be removed.
  • %CVT-ZIP9-OLD(insert-zip) - Returns a 9 digit zip code for the field, for example %CVT-ZIP9-OLD(BRANCH-FILE.ZIP-CODE).
Returns a zero-filled 9 digit zip code. If the zip code is 5 or less digits, the zip code will be padded with 4 zeros. The string is not formatted.
  • %MEM-CSZ-OLD - Returns the MEMBER-FILE CITY-STATE-ZIP in the format "CITY (max 16 chars), ST (max 2 chars) ZIP"
This macro should only be used if you want to truncate the CSZ to a maximum of 31 chars. The macro uses at most 16 chars of the CITY name and at most 2 chars of the STATE followed by the formatted zip code using %FZIP.

AskPlus Job Changes

  • Field Name Changes
Any AskPlus jobs that reference fields that have been renamed will need to be modified. Search your UC4 jobs for CITY, STATE and ZIP and then determine which dataset the job is using. Rename the fields to CITY-16, STATE-2 or ZIP-CODE only when the dataset is one listed above for renamed fields.
If a job uses one of the macros %CVT-FZIP, %CVT-ZIP5 or %CVT-ZIP9 in a dataset where the field has been renamed ZIP-CODE you will also need to rename the macro to %CVT-FZIP-OLD, %CVT-ZIP5-OLD or %CVT-ZIP9-OLD.
Remember that most jobs will be using address fields from MEMBER-FILE and ADDRESS-INFO and field names in these jobs do not need to be changed.
  • Output Position Changes
Any AskPlus jobs that reference fields that have been increased in size may need to be modified. Search your UC4 jobs for CITY, STATE and ZIP and then determine which dataset the job is using. Jobs using datasets like MEMBER-FILE and ADDRESS-FILE will now print an extra 4 characters for CITY and two extra characters for STATE. The macro %MEM-CSZ also has the potential to return a longer result since both city and state have been expanded.
If the job uses fixed print positions, not tabs (TAB1, TAB2, ...) you will need to do one of the following:
  • Modify the job to print only 16 chars for CITY and 2 chars for state. Update the job to use the following syntax:
  • CITY.(1:x16)
  • STATE.(1:x2)
  • %MEM-CSZ-OLD - this macro truncates the city to 16 chars and the state to 2 chars.
  • Or, modify the print positions in the job to allow for the required additional space.
Remember if the job uses TABn syntax, no changes will be needed as the column widths are automatically calculated.

Visimage Context Changes

  • Field Name Changes
Any contexts that reference fields that have been renamed will need to be modified. If, during execution, you get an error "Invalid field name" for CITY, STATE or ZIP, you will need change the field name to CITY-16, STATE-2, or ZIP-CODE.
If the context uses one of the macros %CVT-FZIP, %CVT-ZIP5 or %CVT-ZIP9 in a dataset where the field has been renamed ZIP-CODE you will also need to rename the macro to %CVT-FZIP-OLD, %CVT-ZIP5-OLD or %CVT-ZIP9-OLD.
Remember that most contexts will be using address fields from MEMBER-FILE and ADDRESS-INFO and field names in these jobs do not need to be changed.
  • Output Position Changes
Visimage contexts that contain report tasks that use fields that have been increased in size may need to be modified. By default, the context will continue to work, but the city name will most likely be truncated to 16 chars and the state to 2 chars. If you want to display the full city (20 chars) or state (4 chars) you will need to modify the field properties in the report. Reports that use %MEM-CSZ may need to increase the allocated space from 31 chars to 37 chars. The macro %MEM-CSZ-OLD will return a maximum of 31 chars using a max of 16 chars from CITY and 2 chars from STATE.
List tasks will automatically adjust column widths and display the full 20 chars for city, 4 chars for state and 37 chars for %MEM-CSZ.

Vital Signs Changes

  • New Macro Definition File:
The new macro definition file described above must be installed.
  • Script File Changes:
The following scripts will need to modified after the upgrade to Spectrum 2015.2.0. We recommend testing these changes in advance with a test instance of the 2015.02 database. Instead of editing the script files as they exist, make copies with the extension .2015.02 and edit those copies rather than the original files. The detailed testing steps are shown below.
  • Edit the file scripts/VSLOAD-MBRFILE and change:
# Near line 180
newreg MBR-ZIP:X5
...
# Near line 230
#MBR-ZIP = !CVT:Z5(MEMBER-FILE.ZIP), IF (MEMBER-FILE.ZIP <= 99999)
#MBR-ZIP = !CVT:Z5(MEMBER-FILE.ZIP / 10000), IF (MEMBER-FILE.ZIP > 99999)
#MBR-ZIP+4 = #MBR-ZIP, IF (MEMBER-FILE.ZIP <= 99999)
#MBR-ZIP+4 = !format("xxxxx-xxxx",!cvt:Z9(MEMBER-FILE.ZIP)), 
             IF (MEMBER-FILE.ZIP > 99999)
To:
newreg MBR-ZIP:X10
...
#MBR-ZIP = %ZIP5
#MBR-ZIP = MEMBER-FILE.ZIP, IF (#MBR-ZIP = "0")
#MBR-ZIP+4 = %FZIP
  • Edit the file scripts/VSLOAD-LNFILE and change:
(Updated Oct 9, 2015)
# Near line 190
D1, STATE                    , 1
To:
newreg STATE:X2
#STATE = STATE-2
D1, #STATE                   , 1
  • Edit the file scripts/VSLOAD-LOOKUP and change:
(Updated Oct 9, 2015)
# Near line 23
#BR-CSZ    = !propername(CITY) splice "," join STATE
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP), if ZIP <= 99999
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP / 10000), if ZIP > 99999
To:
#BR-CSZ    = !propername(CITY-16) splice "," join STATE-2
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE), if ZIP-CODE <= 99999
#BR-CSZ    = #BR-CSZ join !cvt:z5(ZIP-CODE / 10000), if ZIP-CODE > 99999
  • Custom Changes:
If you have made custom changes to the extract scripts, we recommend that you search the other files in the scripts directory and look for CITY, STATE and ZIP. Contact support if you have questions.
  • Foreign Addresses:
During the 2015.2 VUP foreign addresses stored in ADDRESS-LINES(3) (MEMBER-FILE and ADDRESS-INFO) will be moved into the CITY, STATE and ZIP fields. Contact Vital Soft support if you would like to perform the same logic to the existing (previously extracted) MBRFILE and ADDRINFO QVD files. This QVD update process has not been written yet, but we can make it available if clients request it.

More information on Testing Vital Signs Script Changes for the Spectrum 2015.2 release.