Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error messages when you use the SNACFG utility to create 3270 print sessions or APPC print sessions in Host Integration Server 2004: "Undefined parameter FONT" and "Undefined parameter FONTSIZE"


View products that this article applies to.

Symptoms

When you try to create a new 3270 print session or an APPC print session on a Microsoft Host Integration Server 2004 Service Pack 1 (SP1)-based server by using the SNACFG (snacfg.exe) command-line configuration utility, you receive the following error messages:

Message 1
Undefined parameter FONT
Message 2
Undefined parameter FONTSIZE
Message 3
Required parameter missing or parameter value invalid
Message 4
Command failed
Note This problem can also occur on a Host Integration Server 2004 server that has the following update applied.
937144 FIX: You cannot use the SNACFG utility to configure the �Use fixed font size� option for 3270 print sessions and for APPC print sessions in Host Integration Server 2004

↑ Back to the top


Cause

This problem occurs because the SNACFG command-line configuration utility incorrectly checks for the existence of the /FONT parameter even though the /OVERRIDEFONTSIZE=No parameter is specified in the command to add a 3270 print session or an APPC print session. The /FONT parameter and the /FONTSIZE parameters only need to be validated when the /OVERRIDEFONTSIZE=Yes parameter is included on the command to add a 3270 print session or an APPC print session.

↑ Back to the top


Resolution

Hotfix Information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Host Integration Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Host Integration Server 2004 Service Pack 1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTimePlatform
Snacfg.exe6.0.2421.0225,79212-Apr-200802:46x86
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

You can configure the "Use fixed font size" option for print sessions by using the /OVERRIDEFONTSIZE parameter. The sample SNACFG commands in this section show how to do this for an existing 3270 print session. For APPC print sessions, change "PRINTSESSION3270" to "PRINTSESSIONAPPC" in each command.

The following sample SNACFG command enables the "Use fixed font size" option for an existing 3270 print session that is named PRINT1:
SNACFG PRINTSESSION3270 PRINT1 /OVERRIDEFONTSIZE:Yes /FONT:Courier /FONTSIZE:10
The following sample SNACFG command enables the "Use fixed font size" option for an existing APPC print session that is named APPCPRT1:
SNACFG PRINTSESSION3270 APPCPRT1 /OVERRIDEFONTSIZE:Yes /FONT:Courier /FONTSIZE:10
Note You must specify a specific font and a specific font size together with the /FONT parameter and the /FONTSIZE parameter to enable the "Use fixed font size" option.

If you specify the /OVERRIDEFONTSIZE:Yes parameter for a print session that is not configured to use a specific font and a specific font size, the SNACFG utility returns the following error message:
Undefined parameter FONT 
Undefined parameter FONTSIZE 
Required parameter missing or parameter value invalid 
Command failed 
You can use the following SNACFG command to enable the "Use fixed font size" option when the specified 3270 print session has been previously configured to use a specific font and a specific font size:
SNACFG PRINTSESSION3270 <PrintSessionName>/OVERRIDEFONTSIZE:Yes
Similarly, you can use the following SNACFG command to disable the "Use fixed font size" option when the specified 3270 print session has been previously configured to use a specific font and a specific font size:
SNACFG PRINTSESSION3270 <PrintSessionName>/OVERRIDEFONTSIZE:No
For more information about the SNACFG utility, see the Host Integration Server documentation.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB950852, kbqfe, kbfix, kbbug, kbexpertiseinter, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 950852
Revision : 2
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 563