z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Print a Data Set that Contains DBCS Data: Example 6

z/OS DFSMS Access Method Services Commands
SC23-6846-01

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).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014