Print a Data Set that Contains DBCS Data: Example 6
Use the PRINT command to print data set USER.PRTSOSI.EXAMPLE that
contains SO and SI characters surrounding DBCS data.
//PRINT JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
PRINT -
INDATASET(USER.PRTSOSI.EXAMPLE) -
DBCS -
CHARACTER
/*
The
parameters are:
- INDATASET specifies the name of the data set to be printed, USER.PRTSOSI.EXAMPLE.
- DBCS specifies that each logical record is to be printed as a group of alphanumeric characters and the logical record is assumed to already contain SO and SI characters. The bytes from the logical record are printed in their respective characters (that is, SBCS or DBCS character format).