HPlogo FCOPY Reference Manual: HP 3000 MPE/iX Computer Systems

Appendix B File Definitions: Default Values

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Appendix B summarizes the default file definition values that FCOPY uses to open a tofile or fromfile. It contains two tables: table B-1 shows default values for different types of fromfiles, and table B-2 shows default values for different types of tofiles. The information stored in the file label of an existing disk file always describes its characteristics.

Items marked with a "plus" sign (+) are those most likely to cause problems when you are copying from one device to another. Refer to the File System Reference Manual (30000-90236) or Accessing Files Progammer's Guide (32650-90017) for information about domains, buffers, and record formats.

You can override a file's default definition before you issue an FCOPY command. Simply redefine its characteristics using the MPE FILE command and then use an asterisk (*) to backreference the FILE command in the FCOPY command.

Table B-1 Default "from" Device Values

"From"

Device

$CTUL

$CTUR

Magnetic

Tape

Named

Disk

File

$STDIN

$STDINX

Formal File Designator(empty)fromfilefromfile(empty)
Default File Designator(empty)fromfilefromfile(empty)
Domainnewnew+old perm. or temp.old+
Record Typesee note 1+binary+as specified in the file labelASCII
Record Formatfixedundefined+as specified in the file labelfixed
Access TypeI/OREAD/WRITEREAD/WRITEREAD only
Carriage Controlnonoas specified in the file labelno
Multirecord Accessyesnonono
Dynamic Lockingnononono
Exclusive Accessyesyesyesno
Inhibit Bufferingyesno+no+no
Record Size256 bytes256 bytes+as specified in the file label80 bytes
Deviceldev # of terminal (left-justified ASCII number)byte array containing ldev # or device class name from the FILE commandas specified in the file labelsession or batch input device
Userlabels00as specified in the file label0
Blocking Factor11+as specified in the file label1
Buffers22+2+2
File SizeN/AN/Aas specified in the file labelN/A
Initial AllocationN/AN/Aas specified in the file labelN/A
File Code0N/Aas specified in the file label 
AllowFILECommandnoyesyesno

 

Table B-2 Default "to" Device Values

"To"

Device

$CTUL

$CTUR

$HARD

Line

Printer

Magnetic

Tape

Named

Disk

File

Formal File Designator(empty)HARDtofiletofiletofile
Default File Designator(empty)HARDtofiletofiletofile
Domainnewnewnewnewold
Record Typesee note 1+ASCIIASCIIbinary+as specified in the file label
Record Formatfixedfixedundefined+undefinedas specified in the file label
Access TypeI/OI/OWRITE onlyREAD/WRITEsee note 3
Carriage Controlnoyesnono+as specified in the file label
Multirecord Accessyesyesnonono
Dynamic Lockingnonononono
Exclusive Accessyesyesyesyessee note 4
Inhibit Bufferingyesyesnonono
Record Size256 bytes86 bytes132 bytes256 bytes 
Deviceldev # of terminal (left-justified ASCII number)ldev # of terminal (left-justified ASCII number)byte array containing ldev # or device class name from FILE commandbyte array containing ldev # or device class name from FILE commandas specified in the file label
Userlabels00N/A0as specified in the file label
Blocking Factor1111+as specified in the file label
Buffers2222+2
File SizeN/AN/AN/AN/Aas specified in the file label
Initial Allocation1N/AN/AN/Aas specified in the file label
File Code0N/AN/AN/Aas specified in the file label
AllowFILECommandnoyesyesyesyes
"To" Device$STDLIST
Formal File Designator(empty)
Default File Designator(empty)
Domainnew
Record TypeASCII
Record Formatundefined
Access TypeWRITE only
Carriage Controlno
Multirecord Accessno
Dynamic Lockingno
Exclusive Accessno
Inhibit Bufferingno
Record Size80 bytes
Devicesession or batch output device
UserlabelsN/A
Blocking Factor1
Buffers2
File SizeN/A
Initial AllocationN/A
File CodeN/A
AllowFILECommandno

 

NOTE:
  1. $CTUL or $CTUR domain is ASCII (JIS for the HP 2645K terminal) or binary, depending on the tofile.

  2. A named disk file's access type is as follows:

    For COMPARE: READ only.

    For VERIFY: INPUT/OUTPUT.

    APPEND when message files are used.

  3. A named disk file has exclusive access for all functions except COMPARE.

Feedback to webmaster