![]() |
![]() |
|
|
![]() |
![]() |
Using NS 3000/iX Network Services: HP 3000 MPE/iX Computer Systems > Chapter 5 Network File Transfer![]() DSCOPY Intrinsic |
|
Transfers or copies a file from one node to another (or within a single node).
The DSCOPY intrinsic copies one file into another, performing exactly the same operations that the DSCOPY command performs. The source and target files do not have to be on the same node, and the program that calls the intrinsic does not have to be located on the same node as either of the files. The opt parameter determines: (1) whether or not primary output is enabled, (2) whether to return after all transfers in a series have been attempted or after the first unsuccessful transfer, and 3) whether the file transfer will take place from DSCOPYI or from a designated command file. If a single or generic transaction is involved, the spec parameter can contain the full text of the transfer specification, including all parameters and options, terminated by an ASCII null character. A null character (numeric zero) alone indicates that the transfer requests are to be read from the DSCOPYI file. The returned result parameter indicates whether or not the transfer was successful. (All the parameters are required; DSCOPY is not option-variable.) This intrinsic does not return condition codes. Split stack calls are not allowed.
Programmatic examples may be found at the end of this chapter. |
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|