DSKCOM

Updated June 2012

xcall DSKCOM, opcode, msgnam, var

DSKCOM.SBR is identical to COMMON.SBR except that it is disk-based, allowing sharing of information between different jobs. Also, the package name (msgnam) may be up to twelve characters instead of the standard six. This allows you plenty of space to prepend the jobname if you want to identify which packets go with which jobs.

The file is opr:common.sys, and will be automatically created on first access if it does not exist. You can erase it to forcefully reset any existing packets.

The number and size of packets is determined in the same way as for COMMON.SBR, i.e. via the SBR=MSGNUM:#,MSGSIZ:# system parameters. The default is six packets of 150 bytes.

You may ALIAS=COMMON:DSKCOM if you want to convert your existing COMMON to disk based.

History

2012 June, A-Shell 6.0.1251:  Add new opcode 3 for destructive read. Opcode 1 remains for non-destructive read. Note that unlike COMMON.SBR, DSKCOM does not recognize the SBR=COMMONNDR switch.

2006 December, A-Shell 4.9.985:  Added to A-Shell