Name
dsn_profile — profile information for dataset-name patterns
Synopsis
/etc/dsn_profile ~/.dsn_profile
Description
todsn and fromdsn read dataset-name
profile information from /etc/dsn_profile, or if present ~/.dsn_profile.
This file contains stanzas of the form:
program-name dataset-name-pattern
keyword value
keyword value
...
program-name must start in column 1 of the line and may be either todsn or fromdsn. Keyword value pairs are read until the start of a new stanza is encountered. Lines starting with '#' and empty lines are interpreted as comments.
dataset-name-pattern is a string conforming to the fnmatch()
C library function pattern language.
The possible keywords and allowed values follow. Keywords are applicable to both todsn and fromdsn unless noted otherwise. Keywords and values are case-insensitive.
allocKeywords|allocbpxydyn dataset allocation options. For a complete list of options, see "Using REXX and z/OS UNIX System Services".
lineTerminationRuleflexible|lf|cr|crlf|nl|crnl|ibmrdw|mfrdw|rdw|0xbb[bb..]|none.flexibleis only applicable to todsn.openOptions|extraOpenOptionsAdditional mode options to be added to the base options on the
fopen()call.padCharthe pad character.
recordOverflowRuleOne of:
error|flow|trunc|wrap. This keyword is not applicable to fromdsn.relativethe
dataset-namesupplied is relative, and the MVS userid will be added.sourceCodePagethe source character set.
targetCodePagethe target character set.
trimtrailing pad characters are trimmed.
Files
/etc/dsn_profileContains system wide profile data for fromdsn and todsn.
~/.dsn_profileif present, will be read instead, allowing individual users to define their own profile data.