For AIX, here's a script we use to do the checkin with the reply:

dsmadmc -id=$TSMID -pa=$TSMPA "checkin libv 3583 search=bulk checkl=barcode
status=scratch"
sleep 15
REQNO=$(dsmadmc -id=$TSMID -pa=$TSMPA "q req"|grep ANR8373I| awk '{print
$2}'|tr -d ':')
dsmadmc -id=$TSMID -pa=$TSMPA "reply $REQNO"


Can't take credit. Found it on the 'list a couple months back. Now that I
went back and looked, it should be credit'd to "Etienne GUILLAUMONT."

Bill Boyer
DSS, Inc.

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of
Robert Ouzen
Sent: Wednesday, June 18, 2003 6:02 AM
To: [EMAIL PROTECTED]
Subject: Select parameter output


Hi to all

Somebody know how to create a parameter output for further use in a select
command.
Here my example to get a number request for a reply command:

    select substr(message,10,3) as "Request ID" from actlog where msgno=8373
and current_timestamp-date_time<'0 00:01:00.000000'

>From this select I got the request number to apply for the reply command how
can I supply this output directly to my command reply ??????

T.I.A Regards

Ouzen Robert
E-mail:[EMAIL PROTECTED]

Reply via email to