qmedia export

Description

This command exports the specified media to a given location.

In case of an error, an error code and description are displayed as: "export: Error errorcode: errordescription"

Usage

qmedia export -b <barcode(s)> -el <exportlocation> [-af <argsfile>] [-tf <tokenfile>] [-tk <token>] [-h]

Options

-b

List of barcodes separated by a comma (,)

-el

Export Location name

-iep

I/E port range separated by a comma (,)

For example:

1002-1002,1003,1004

-tf

Reads token from a file

-tk

Token string

-af

Reads arguments from a file

-h

Displays help

Argument File

barcodes

[string] List of barcodes, written one under the other.

For example:

M00001L3

M00002L3

M00003L3

server

CommServe host name

exportlocation

Export location

verifyoml

Verify On Media Label (OML) for export

ieports

List of I/E ports where the media will be exported.

For example:

001003,001004 and so on.

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

Export multiple specified media with barcodes 100401WW and 100402WW to location Exp_Loc

E:\commandline>qmedia export -b 100401WW,100402WW -el Exp_Loc

Sample Argument file:

[barcodes]
 M00001L3
M00002L3
M00003L3
 [ieports] 001003,001004 
 [server]
 server1
 [exportlocation]
 <location>
 [verifyoml] 
 1

Loading...