Usage Note 46531: Special characters might cause the Platform Object Framework batch import and export utilities to fail on Z/OS with a syntax error.
Executing the batch export and import metadata utilities on Z/OS might result in a syntax error when one or more
command options contain special characters, such as an embedded blank or parenthesis in a -target or -object option folder path.
For example, if you execute the ExportPackage using the following command:
ExportPackage.rexx -user ..... -objects "/testzos/FILEDIRECTORY(Table)"
You will receive a syntax error similar to the following:
FSUM7332 syntax error: got (, expecting Newline
Exit code is 1
To circumvent the problem, you can either precede special characters with a
backslash character (\) to escape them or embed the entire option value within
both double and single quotes, like:
ExportPackage.rexx -user .....-objects "'/testzos/FILEDIRECTORY(Table)'"
or :
ExportPackage.rexx -user .....-objects "/testzos/FILEDIRECTORY\(Table\)"
Any character other than letters (A-Z and a-z), numbers (0-9), underscores (_),
hyphens (-), and periods (.) can trigger the error and require that you
implement one of the two circumventions.
Operating System and Release Information
SAS System | SAS Metadata Server | z/OS | 9.21 | | 9.2 TS2M2 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When entering batch export and import commands (ImportPackage or ExportPackage) on z/OS systems, you might need to precede special characters with a backslash character (\). Otherwise a syntax error will be produced.
Date Modified: | 2012-05-16 16:03:12 |
Date Created: | 2012-05-09 14:18:31 |