Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Converting the data to the SAM format and sorting the data

The PAMSAM procedure is made available to the user in the procedure library SYSPRC.UTM.070 for converting and sorting the data.

Before calling the procedure, you must assign the KDCMON file:

  • Disk files

    /SET-FILE-LINK LINK-NAME=KDCMON,FILE-NAME=kdcmonfile,ACCESS-METHOD=UPAM

  • Tape files

   /SET-FILE-LINK LINK-NAME=KDCMON,FILE-NAME=kdcmonfile,ACCESS-METHOD=BTAM

   /MODIFY-FILE-ATTRIBUTES FILE-NAME=kdcmonfile -

  /       ,SUPPORT=*TAPE(VOLUME=xxxxxxx,DEVICE-TYPE=TAPE-C4)


The PAMSAM procedure is called as follows:

/CALL-PROCEDURE NAME=SYSPRC.UTM. 070(PAMSAM),PROCEDURE-PARAMETERS=( -
/                            [,KDCPMSM=kdcpmsm-progname][,SAMFILE=samfile] -

/                             [,SORT=sortprogram])


Meaning of the parameters and default values

kdcmonfile      PAM or BTAM file with the recorded data to be converted.

kdcpmsm-progname


Name of the KDCPMSM tool in the file SYSPRG.KDCMON.nnn.KDCPMSM:
nnn=190 for BS2000 OSD/BC V10.0
nnn=200 for BS2000 OSD/BC V11.0

samfile

Name of the output file in SAM format in which PAMSAM is to write the data records sorted according to time stamp.

sortprogram

Name of the BS2000 utility SORT.

The file KDCMON.WORK is created while the procedure is running; this file is deleted again after the sorting run.

Following the procedure run, the data converted to SAM format and sorted according to time stamp is contained in the file samfile, which was specified in the SAMFILE parameter.

If the KDCPMSM tool is terminated incorrectly, process switch 3 is set to ‘on’.