1 :Info: copy_names_: 1980-11-03 copy_names_
2
3
4 Entry points in copy_names_:
5 List is generated by the help command
6
7
8 :Entry: copy_names_: 1980-11-03 copy_names_
9
10 Function: This subroutine copies all the names from one entry to
11 another. Name duplications are handled by nd_handler_.
12
13
14 Syntax:
15 dcl copy_names_ ext entry char*char*char*char*
16 char*bit1 alignedfixed bin35;
17 call copy_names_ dir1 en1 dir2 en2 caller errsw code;
18
19
20 Arguments:
21 dir1
22 the directory in which the original segment is found. Input
23 en1
24 a name on the original segment. Input
25 dir2
26 the target segment's directory. Input
27 en2
28 a name already on the target segment. Input
29 caller
30 the name of the calling procedure; it is used in calls to
31 nd_handler_. Input
32
33
34 errsw
35 indicates which segment the error indicated by "code" occurred
36 on; it is set to "0"b if the error was on the original segment
37 and to "1"b if on the target. Output
38 code
39 a standard File System status code. Output
40
41
42 Notes: If name duplication occurs due to another entry having the
43 same name as the entry being copied, the status code
44 error_table_$namedup is returned. Otherwise, if name duplication
45 occurs due to a name being copied, the code error_table_$segnamedup
46 is returned.
47
48
49 :hcom:
50
51
52
53 /****^ HISTORY COMMENTS:
54 1) change2020-04-21GDixon, approve2021-02-22MCR10088,
55 audit2021-05-27Swenson, install2021-05-27MR12.6g-0056:
56 A) Add missing subroutine introduction block to info segment.
57 B) Reformat Arguments section per guidelines on "help -brief".
58 END HISTORY COMMENTS */
59
60
61