Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DCP (DECNET Copy) Questions
@ 1996-01-03  5:00 Greg Mays
  1996-01-03  5:00 ` Dave Sankey
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Greg Mays @ 1996-01-03  5:00 UTC (permalink / raw)


All:

I've been exploring an obscure option of the dcp (DECNET Copy) 
command and can't find some answers I need.  Specifically I've
been experimenting with the dcp -s command which submits remote
output files for execution.  The command works ok but lacks control.
I can't see anyway to control the batch queue or other execution 
options of the job on the remote system.  

I have been able to use dcp -s to submit a DCL procedure on a 
remote VAX system but can't control what queue processes the job
(/QUEUE qualifier for a VAX job) or the parameters passed to the
job (/PARAM qualifier for a VAX job).

Is there anyway to exert more control over the remote job
characteristics??

Any feedback/information/suggestions would be greatly appreciated.

We are running from Alpha OSF/1 and dcp is submitting jobs to a
VAX running OpenVMS.

Thanks,
Greg



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
@ 1996-01-03  5:00 ` Dave Sankey
  1996-01-04  5:00 ` Peter Kaiser
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Dave Sankey @ 1996-01-03  5:00 UTC (permalink / raw)


In article <4cd9i6$p4i$2@mhafn.production.compuserve.com>, Greg Mays
<71612.3473@CompuServe.COM> wrote:

>I have been able to use dcp -s to submit a DCL procedure on a 
>remote VAX system but can't control what queue processes the job
>(/QUEUE qualifier for a VAX job) or the parameters passed to the
>job (/PARAM qualifier for a VAX job).
>
>Is there anyway to exert more control over the remote job
>characteristics??

I don't think that there is. In the past (a few years back) I was using
the print option as well, but never found a way of specifying a printer or
batch queue other than the defaults.

                                     Dave



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
  1996-01-03  5:00 ` Dave Sankey
@ 1996-01-04  5:00 ` Peter Kaiser
  1996-01-05  5:00 ` Bob Koehler
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Peter Kaiser @ 1996-01-04  5:00 UTC (permalink / raw)



In article <4cd9i6$p4i$2@mhafn.production.compuserve.com>, Greg Mays
<71612.3473@CompuServe.COM> writes:

> Is there anyway to exert [detailed] control over the remote job
> characteristics [of jobs submitted with "dcp -s"]?

Not that I know of.  My own approach, which works for my simple needs, is
twofold:

    1.	For common things, set up command procedures on the VMS side that
	start batch jobs with the proper queue parameters, then use "dcp -s"
	on the UNIX side to submit a job that invokes one of those procedures.

    2.	Let software on the UNIX side write a file which, when submitted as
	a job on the VMS side, writes a procedure with the parameters I want,
	and then submits that.

This indirect technique works for me, but it'd probably be a nightmare for
any large number of users or any very wide variety of queue options.
Remember that no two VMS systems have identical collections of queues and
parameters!  That's why there are packages around to handle details of
queuing between UNIX and VMS.

___Pete

kaiser@acm.org
+33 92.95.62.97, FAX +33 92.95.50.50




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
  1996-01-03  5:00 ` Dave Sankey
  1996-01-04  5:00 ` Peter Kaiser
@ 1996-01-05  5:00 ` Bob Koehler
  1996-01-15  5:00 ` C. Eric Ladner Jr.
  1996-01-17  5:00 ` Aharon (Al) Schkolnik
  4 siblings, 0 replies; 9+ messages in thread
From: Bob Koehler @ 1996-01-05  5:00 UTC (permalink / raw)



In article <4cd9i6$p4i$2@mhafn.production.compuserve.com>, Greg Mays <71612.3473@CompuServe.COM> writes:
>All:
>
>I've been exploring an obscure option of the dcp (DECNET Copy) 
>command and can't find some answers I need.  Specifically I've
>been experimenting with the dcp -s command which submits remote
>output files for execution.  The command works ok but lacks control.
>I can't see anyway to control the batch queue or other execution 
>options of the job on the remote system.  
>
>I have been able to use dcp -s to submit a DCL procedure on a 
>remote VAX system but can't control what queue processes the job
>(/QUEUE qualifier for a VAX job) or the parameters passed to the
>job (/PARAM qualifier for a VAX job).
>
>Is there anyway to exert more control over the remote job
>characteristics??
>

Hmm, the only dcp command I know of is part of Ki Research's KiNet
implementation of DECnet Phase IV.

In any case, you have no direct control of queues when doing remote submits via
DECnet.  You can prevent printout of the log file of the job you are starting
by assigning sys$print to nla0: in that command file.  You can use two command
files, the first simply using the submit command to start the second as
desired.

Possibly FAL.COM on the recieving system could be modified to assign sys$batch
and/or sys$print for you under special, detectable circumstances.

------------------------------------------------------------------------------
Bob Koehler                     | CSC/SSD/MITG




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
                   ` (2 preceding siblings ...)
  1996-01-05  5:00 ` Bob Koehler
@ 1996-01-15  5:00 ` C. Eric Ladner Jr.
  1996-01-16  5:00   ` Dan Harrington
                     ` (2 more replies)
  1996-01-17  5:00 ` Aharon (Al) Schkolnik
  4 siblings, 3 replies; 9+ messages in thread
From: C. Eric Ladner Jr. @ 1996-01-15  5:00 UTC (permalink / raw)


I am curious about the dcp command.  I have an Alpha running OSF/1 V3.0
and can't find any reference to the dcp command.  Where does this command
come from?  Is it some kind of add-on product?

Any information would be appreciated.

Eric.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-15  5:00 ` C. Eric Ladner Jr.
  1996-01-16  5:00   ` Dan Harrington
@ 1996-01-16  5:00   ` Michael Waldor
  1996-01-18  5:00   ` Robert Koehler
  2 siblings, 0 replies; 9+ messages in thread
From: Michael Waldor @ 1996-01-16  5:00 UTC (permalink / raw)


I do have a dcp. It ships together with Ultrix-4.X AND DECnet-IV. I don't know
whether dcp comes also together with DECnet-V. Currently DECnet-IV isn't
supported officially (as far as I know) but the original 4.2-version
still works within Ultrix-4.3A.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-15  5:00 ` C. Eric Ladner Jr.
@ 1996-01-16  5:00   ` Dan Harrington
  1996-01-16  5:00   ` Michael Waldor
  1996-01-18  5:00   ` Robert Koehler
  2 siblings, 0 replies; 9+ messages in thread
From: Dan Harrington @ 1996-01-16  5:00 UTC (permalink / raw)



In article <4ddtv4$f9c@whale.st.usm.edu>, 
    celadner@whale.st.usm.edu (C. Eric Ladner Jr.) writes:
|>I am curious about the dcp command.  I have an Alpha running OSF/1 V3.0
|>and can't find any reference to the dcp command.  Where does this command
|>come from?  Is it some kind of add-on product?

Hi Eric,

The dcp command is part of the DECnet/OSI for Digital UNIX product,
which provides DECnet Phase IV and OSI protocols, as well as various
user applications.  DECnet/OSI ships on the Layered Product CDROM,
and the most recent version is V3.2A (for Digital UNIX V3.2C & V3.2D).

I've appended the dcp(1dn) man page to satisfy your curiousity... :-)

Dan
=============================================================================

dcp(1dn)							     dcp(1dn)
Digital								      Digital



NAME

  dcp -	Copy files between DECnet/OSI nodes

SYNOPSIS

  dcp [-options] input output

FLAGS

  -A		 Appends the input file	or files to a specified	output file.
		 Note that the output file must	already	exist; this option
		 does not create an output file.

  -P		 Prints	the files at the default printer on the	remote sys-
		 tem.

  -S		 Submits remote	output files for execution.  On	Digital	UNIX
		 systems, it submits output files to the shell and creates a
		 log file in the log-in	directory that has the name
		 filename.log, where filename is the name of the specified
		 output	file.

  -a		 Copies	files in ASCII record mode.  ASCII mode	transfers
		 perform necessary format conversions between heterogeneous
		 systems.  ASCII mode is the default when you copy to and
		 from non-Digital UNIX systems.

  -c		 Converts the input file name from another type	of system to
		 a name	with a Digital UNIX format.  This conversion hppens
		 by default whenever you use dcp to copy a file	from some
		 other type of system to a Digital UNIX	system.	 The -c
		 option	has no effect unless the output	file is	in a local
		 directory; you	cannot use this	option when copying files to
		 remote	directories.

  -i		 Copies	files in image mode.  This option is useful for	copy-
		 ing nonprintable data files between homogeneous systems.
		 Image mode transfers are generally faster than	ASCII mode
		 transfers but do not perform data format conversions between
		 heterogeneous systems.	 Image mode is the default when	you
		 copy between Digital UNIX systems.

  -r		 Copies	all of the files in a directory.  All subdirectories
		 are also copied.  The input and output	names you specify
		 must be directory names.  The top directory must already
		 exist;	-r does	not create it.	However, this option does
		 create	all the	subdirectories if they do not already exist
		 on the	node to	which you are copying files.  This option is
		 valid only between DECnet/OSI systems.

  -v		 Logs the names	of the files being copied to standard error.

  input		 Is one	or more	input file or directory	specifications.	 The
		 format	for an input file specification	varies with the
		 operating system on which the file is located.	 If there are
		 multiple input	files, separate	each with a blank space.

		 You can specify a dash	(-) in place of	an input file specif-
		 ication, directing dcp	to read	from standard input until it
		 reaches end-of-file (EOF).

		 You can specify wildcard characters.  If you want the target
		 node instead of the local shell to interpret a	string of
		 wildcard characters, you must enclose the string in quota-
		 tion marks.  See the DECnet/OSI for Digital UNIX Introduc-
		 tory User's Guide for more information.

  output	 Is the	output file or directory to which dcp copies the
		 input files.  The format for an output	file or	directory
		 specification varies with the operating system	on which the
		 output	file is	created.

		 When you copy input files to a	directory, the output files
		 retain	the input file names and syntax	unless you use the -c
		 option.  However, if you are copying a	file other than	a
		 Digital UNIX file to a	Digital	UNIX system, the file name is
		 automatically converted to match Digital UNIX file-naming
		 conventions.

		 You can use a dash (-)	in place of the	output file specifi-
		 cation	to direct the files to standard	output.

DESCRIPTION

  The dcp command copies files between DECnet nodes.  You can copy both	ASCII
  text and binary image	files.	Note that non-Digital UNIX files with addi-
  tional attributes lose those attributes when copied to an Digital UNIX sys-
  tem.

  When you use dcp to copy a file to another DECnet/OSI	system,	you need not
  specify a mode of transfer because image mode	is the default transfer	mode
  between Digital UNIX systems.	 For other systems, you	need to	specify	a
  mode of transfer only	for image files.

  File protection modes	are preserved when you copy files between DECnet/OSI
  systems.  For	other systems, the output file protection modes	are defined
  by the remote	system's file protection defaults.

  When you copy	files from another type	of system to an	Digital	UNIX direc-
  tory without using the file name conversion option, the output file name
  retains the format of	the input file name.  (By default, however, a file
  copied from a	OpenVMS	system is automatically	converted to Digital UNIX
  file naming conventions.) In other cases, you	can use	the -c option to con-
  vert the file	names.

RESTRICTIONS

  You cannot use the -c	option to convert file names when copying files
  between Digital UNIX systems.

EXAMPLES

  The following	command	copies the local file farm.3 to	the directory [MANGO]
  on device DRA2: on the remote	DECnet-VAX node	DAVIS; the command names the
  new file FARM.LIS.  The access control information is	/mango/fruity.


  dcp farm.3 local:.davis/mango/fruity::'dra2:[mango]farm.lis'

  The following	command	copies the file	FARM.LIS from the remote OpenVMS node
  LOCAL:.DAVIS to the local DECnet/OSI node.  However, the output file name
  is not converted to lowercase	because	the user specifies the cnolower	flag.

  dcp -cnolower	local:.davis::'dra2:[mango]farm.lis' .

RELATED	INFORMATION

  DECnet/OSI for Digital UNIX Introductory User's Guide

























^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
                   ` (3 preceding siblings ...)
  1996-01-15  5:00 ` C. Eric Ladner Jr.
@ 1996-01-17  5:00 ` Aharon (Al) Schkolnik
  4 siblings, 0 replies; 9+ messages in thread
From: Aharon (Al) Schkolnik @ 1996-01-17  5:00 UTC (permalink / raw)
  To: C. Eric Ladner Jr.

>>>>> "C. Eric" == C Eric Ladner <celadner@whale.st.usm.edu> writes:

    C. Eric> I am curious about the dcp command.  I have an Alpha
    C. Eric> running OSF/1 V3.0 and can't find any reference to the
    C. Eric> dcp command.  Where does this command come from?  Is it
    C. Eric> some kind of add-on product?

	Yup. DECnet/OSI. 

--
  The day is short, and the work is great,     |   Aharon Schkolnik
  and the laborers are lazy, and the reward    |   Aharon@Matat.Health.Gov.IL
  is great, and the Master of the house is     |
  impatient. - Ethics Of The Fathers Ch. 2     |




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DCP (DECNET Copy) Questions
  1996-01-15  5:00 ` C. Eric Ladner Jr.
  1996-01-16  5:00   ` Dan Harrington
  1996-01-16  5:00   ` Michael Waldor
@ 1996-01-18  5:00   ` Robert Koehler
  2 siblings, 0 replies; 9+ messages in thread
From: Robert Koehler @ 1996-01-18  5:00 UTC (permalink / raw)


C. Eric Ladner Jr. (celadner@whale.st.usm.edu) wrote:
: I am curious about the dcp command.  I have an Alpha running OSF/1 V3.0
: and can't find any reference to the dcp command.  Where does this command
: come from?  Is it some kind of add-on product?

dcp is part of the DECnet product.

OBTW, earlier I mentioned dcp and kiNet.  The peculiarity I mis-recalled was
that kiNet calls it dap, presumably because it uses the DECnet's DAP protcol.
I always liked RSX, TOPS, and DOS's NFT for a name.  But of course, that's 
too meaningfull for eunichs.

------------------------------------------------------------------------------
Bob Koehler                     | CSC/SSD/MITG
rkoehler@csc.com                |



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1996-01-18  5:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-03  5:00 DCP (DECNET Copy) Questions Greg Mays
1996-01-03  5:00 ` Dave Sankey
1996-01-04  5:00 ` Peter Kaiser
1996-01-05  5:00 ` Bob Koehler
1996-01-15  5:00 ` C. Eric Ladner Jr.
1996-01-16  5:00   ` Dan Harrington
1996-01-16  5:00   ` Michael Waldor
1996-01-18  5:00   ` Robert Koehler
1996-01-17  5:00 ` Aharon (Al) Schkolnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox