There appears to be two problems.  The OS specific code is in the error trap
code itself, not in PSNCLASS.  Look at line VARIABLE+11^PSNCLASS, I think
the ,",20," should be _",20," (but I'm just guessing).  I think it's a bug
and I'll report it (if it hasn't already been reported.)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Toppenberg
Sent: Monday, December 19, 2005 8:36 AM
To: hardhats-members@lists.sourceforge.net
Subject: Re: [Hardhats-members] Patching blues

Thanks to Anna's helpful tip, I have been able to install most of the
PSN patches (Thanks Anna!)

I am now getting this error with patch PSN-4_SEQ-92_PAT-99.KID

 LIST(X)_";PS(50.605,",DIE="^PXD(811.9,"_DA(1),",20,",DR=".01////^S
X=VAR" D ^DIE
 Running Post-Install Routine: ^PSNCLASS         S
@%ZTERRT@("J")=$J_"^"_$ZC(%GETJPI,0,"PRCNAM")_"^"_$ZC(%GETJPI,0,"USERNAME")_
"^"_%ZTER11I_"^"_$ZC(%SYSFAO,"!XL",$J),@%ZTERRT@("I")=$IO_"^"_$ZA_"^"_$ZB_"^
"_$ZIO
K %ZTER11I ^-----
                                  ^-----source module
/usr/local/OpenVistA_TEST/r/PSNCLASS.m
%GTM-E-VAREXPECTAt column 27, line 4, source module
/usr/local/OpenVistA_TEST/r/_ZTER1.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by
this operating system

         S @%ZTERRT@("ZH")=$TR($ZH,",","^")
                                ^-----
                At column 25, line 5, source module
/usr/local/OpenVistA_TEST/r/_ZTER1.m
%GTM-E-INVSVN, Invalid special variable name

         S %ZTER111="%" F  D  S %ZTER111=$ZSORT(@%ZTER111)
Q:%ZTER111=""  ;Code from DEC
                                          ^-----
                At column 35, line 6, source module
/usr/local/OpenVistA_TEST/r/_ZTER1.m
%GTM-E-INVFCN, Invalid function name


VARIABLE+11^PSNCLASS, Variable expected in this
context,150373866,-%GTM-E-VAREXPECTED


It looks like this patch contains Cache' specific code.

Is this ok to ignore and continue?

Kevin






On 12/15/05, Anna Joseph <[EMAIL PROTECTED]> wrote:
> We saw the same error here, and strangely dos2unix sorted it out!
>
> ----- Original Message -----
> From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> To: "Hardhats Sourceforge" <hardhats-members@lists.sourceforge.net>
> Sent: Thursday, December 15, 2005 2:28 AM
> Subject: [Hardhats-members] Patching blues
>
>
> I have finally gotten up the courage to try installing KIDS patches
> again, and am having difficulties.  I am patching into a test system.
> I want to patch the PSN package (national drug file)
>
> So I first displayed those patches that have already been installed...
>
>
> PACKAGE: NATIONAL DRUG FILE     Dec 14, 2005 3:43 pm                  PAGE
5
> PATCH #             INSTALLED                     INSTALLED BY
>
----------------------------------------------------------------------------
> ---
> ...
>    60 SEQ #57       OCT 25, 2002                  IRM,MGR
>    64               NOV 08, 2002                  IRM,MGR
>    66               NOV 08, 2002                  IRM,MGR
>    67               DEC 20, 2002                  IRM,MGR
>    62 SEQ #61       MAR 01, 2003                  IRM,MGR
>    68 SEQ #62       APR 17, 2003                  IRM,MGR
>    20 SEQ #63       JUN 03, 2003                  IRM,MGR
>    69 SEQ #64       JUN 28, 2003                  IRM,MGR
>    71               JUN 28, 2003                  IRM,MGR
>    72               JUL 15, 2003                  IRM,MGR
>    73               AUG 02, 2003                  IRM,MGR
>    65 SEQ #68       AUG 02, 2003                  IRM,MGR
>    70 SEQ #69       SEP 12, 2003                  IRM,MGR
>    74               OCT 23, 2003                  IRM,MGR
>    77 SEQ #71       OCT 23, 2003                  IRM,MGR
>    75 SEQ #72       JAN 31, 2004                  IRM,MGR
>    76 SEQ #73       JAN 31, 2004                  IRM,MGR
>    78 SEQ #74       JAN 31, 2004                  IRM,MGR
>    79               JAN 31, 2004                  IRM,MGR
>
>
> I then downloaded the patches that I believed I needed to install
>
> 08/04/2004  12:00 AM            91,410 NDF4P81.KID
> 09/04/2004  12:00 AM         1,332,685 NDF4P85.KID
> 09/04/2004  12:00 AM             5,862 NDF4P86-FOIA.KID
> 09/04/2004  12:00 AM           258,553 NDF4P87.KID
> 11/24/2004  12:00 AM           413,689 NDF4P90.KID
> 05/06/2005  07:16 PM           878,171 NDF4P95.KID
> 05/06/2005  07:16 PM           354,314 NDF4P97.KID
> 08/15/2005  04:57 PM         2,136,954 PSN4P101.KID
> 12/14/2005  11:19 AM             4,335 PSN-4_SEQ-76_PAT-83.kid
> 12/14/2005  11:19 AM             4,709 PSN-4_SEQ-76_PAT-83.txt
> 08/04/2004  12:00 AM             7,043 PSN-4_SEQ-77_PAT-81.txt
> 08/04/2004  12:00 AM             6,986 PSN-4_SEQ-78_PAT-82.kid
> 08/04/2004  12:00 AM             5,541 PSN-4_SEQ-78_PAT-82.txt
> 09/04/2004  12:00 AM             6,472 PSN-4_SEQ-79_PAT-85.txt
> 09/04/2004  12:00 AM             5,537 PSN-4_SEQ-80_PAT-86.txt
> 09/04/2004  12:00 AM             6,035 PSN-4_SEQ-81_PAT-87.txt
> 10/30/2004  12:00 AM            43,736 PSN-4_SEQ-82_PAT-84.kid
> 10/30/2004  12:00 AM             7,324 PSN-4_SEQ-82_PAT-84.txt
> ...
>
>
> I looks to me that the last patch that was installed was patch #79.
> I'm not sure why it doesn't have a sequence number.  There were a few
> other files in this directory with earlier patch numbers, (i.e. patch
> 79), but when I tried to reinstall, it notified me that they  were
> already installed (obviously), so that was not redone.
>
> So I looked at the .txt file for patch: PSN-4_SEQ-76_PAT-83.txt
>
> -------------------------
> $TXT Created by ALEXANDER,DAVE at DMS.ISCVAA.FO-BIRM.MED.VA.GOV
> (KIDS) on Friday, 04/02/04 at 10:38
>
============================================================================
> =
> Run Date: APR 06, 2004                     Designation: PSN*4*83
> Package : PSN - NATIONAL DRUG FILE            Priority: EMERGENCY
> Version : 4        SEQ #76                      Status: Released
>                   Compliance Date: APR 08, 2004
>
============================================================================
> =
>
> Associated patches: (v)PSN*4*79    <<= must be installed BEFORE `PSN*4*83'
> -------------------------
>
> So I see that I need path PSN*4*79.  And according to my list at the
> top of this post, I already have that installed.  So I should be good
> to go.
>
> But I get an error that the patch won't be installed.
>
> (Note I have wedged in a line of code that helps me pick the HFS name.
>  But it doesn't substantially change to KIDS installer)
> --------------------------
>
>    1      Load a Distribution
>    2      Verify Checksums in Transport Global
>    3      Print Transport Global
>    4      Compare Transport Global to Current System
>    5      Backup a Transport Global
>    6      Install Package(s)
>           Restart Install of Package(s)
>           Unload a Distribution
>
> Select Installation Option: 1  Load a Distribution
>
> Enter a Host File: /usr/local/Op
> 2 matches to /usr/local/Op* found.  Pick one:
>
>    1.  /usr/local/OpenVistA/
>    2.  /usr/local/OpenVistA_TEST/
>
> Choose file (1-2), '^' to cancel, or [Enter] to continue: 1
>
> Enter a Host File: /usr/local/OpenVistA/P
> Enter a Host File: /usr/local/OpenVistA/Patches/PSN
> 33 matches to /usr/local/OpenVistA/Patches/PSN* found.  Pick one:
>
>    1.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-75_PAT-79.txt
>    2.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-76_PAT-83.kid
>    3.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-76_PAT-83.txt
>    4.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-77_PAT-81.txt
>    5.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-78_PAT-82.kid
>    6.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-78_PAT-82.txt
>    7.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-79_PAT-85.txt
>    8.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-80_PAT-86.txt
>    9.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-81_PAT-87.txt
>    10.  /usr/local/OpenVistA/Patches/PSN-4_SEQ-82_PAT-84.kid
>
> Choose file (1-10), '^' to cancel, or [Enter] to continue: 2
>
> Using file: /usr/local/OpenVistA/Patches/PSN-4_SEQ-76_PAT-83.kid
>
>
> EMERGENCY Released PSN*4*83 SEQ #76
> Comment: Extracted from mail message
>
> This Distribution contains Transport Globals for the following Package(s):
>    PSN*4.0*83
>  to Install File
>
> PSN*4.0*83 Build will not be installed, Transport Global deleted!
>                Dec 14, [EMAIL PROTECTED]:54:27
>
> **NOTHING LOADED**
> --------------------------
>
> What am I doing wrong?
>
> Thanks
>
> Kevin
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to