Sponsored Content
Full Discussion: set -A RESULTS
Top Forums Shell Programming and Scripting set -A RESULTS Post 19212 by Ashishm on Monday 8th of April 2002 09:44:02 AM
Old 04-08-2002
set -A RESULTS

Hi,
Could you please tell me the meaning of the command

set -A RESULTS '---echo sybase command to execute a tored porcedure ----------' | isql


I just wants to know what does RESULTS contains after execution of command.

Thanks
Regards
Ashish MalviyaSmilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Set shell variables from SQLPLUS query results

Hi All, I needed to get the result of two sqlplus queris into shell variables. After days of looking for the ultimate solution to this problem.. i found this... sqlplus -s USER/PASS@DB <<EOF | awk '{if(NR==1) printf("%s ", $1); if(NR==2) printf("%s ", $1);}' | read VAR1 VAR2 set head off... (2 Replies)
Discussion started by: pranavagarwal
2 Replies

2. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

3. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

4. UNIX for Dummies Questions & Answers

SET produces different results in a script?

Hi all, So wondering if anyone has ever come across this... I know if you run SET command you can see a listing of all your shell variables. HOWEVER, if you create a script in vi, and in that script you issue a set command, it does not return the variables when you run the file after making... (4 Replies)
Discussion started by: losingit
4 Replies

5. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies

6. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

7. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

8. Shell Programming and Scripting

I want to add a variable for the results from the formula of one variable and results of another var

Good morning all, This is the file name in question OD_Orders_2019-02-19.csv I am trying to create a bash script to read into files with yesterdays date on the file name while retaining the rest of the files name. I would like for $y to equal, the name of the file with a formula output with... (2 Replies)
Discussion started by: Ibrahim A
2 Replies
SG_COPY_RESULTS(8)						     SG3_UTILS							SG_COPY_RESULTS(8)

NAME
sg_copy_results - send SCSI RECEIVE COPY RESULTS command (XCOPY related) SYNOPSIS
sg_copy_results [--failed|--params|--receive|--status] [--help] [--hex] [--list_id=ID] [--verbose] [--version] [--xfer_len=BTL] DEVICE DESCRIPTION
This utility is designed to query the status of the SCSI Extended Copy (XCOPY) facility (see SPC-3 revision 23 sections 6.3 and 6.17), present in some modern storage arrays. This utility sends a SCSI RECEIVE COPY RESULTS command to the given DEVICE and displays the response. During the draft stages of SPC-4 the T10 committee has expanded the XCOPY command so that it now has two variants: "LID1" (for a List Iden- tifier length of 1 byte) and "LID4" (for a List Identifier length of 4 bytes). This utility supports the older, LID1 variant which is also found in SPC-3 and earlier. While the LID1 variant in SPC-4 is command level (binary) compatible with XCOPY as defined in SPC-3, some of the command naming has changed. This utility uses the older, SPC-3 XCOPY names. The command has four distinct modes of operation, distinguished by the service action field: COPY STATUS Displays the current status of the EXTENDED COPY command identified by the list id field. RECEIVE DATA Return the held data read by the EXTENDED COPY command identified by the list id field. This option is only meaningful if the respective segment descriptor are supported. OPERATING PARAMETERS Return copy manager operating parameters. This option is also useful to determine if the SCSI Extended Copy facility is supported. FAILED SEGMENT DETAILS Return copy target device sense data and other information about any failed segments. OPTIONS
Arguments to long options are mandatory for short options as well. -f, --failed sets the service action field to FAILED SEGMENT DETAILS [4]. -h, --help output the usage message then exit. -H, --hex prints out the response buffer in hex. -l, --list_id=ID sets the list identifier field to ID (default: 0). -p, --params sets the service action field to OPERATING PARAMETERS [3]. This is the default. -r, --receive sets the service action field to RECEIVE DATA [1]. -s, --status sets the service action field to COPY STATUS [0]. -v, --verbose increase the level of verbosity, (i.e. debug output). -V, --version print the version string and then exit. -x, --xfer_len=BTL sets the allocation length field to BTL. It is the byte transfer length and is the maximum (byte) size of the response. BTL must be less than 10000 and defaults to 520. NOTES
Decoding of RECEIVE DATA service action is not implemented. EXAMPLES
Query the operating parameters for a device: # sg_copy_results -p /dev/sdo Receive copy results (report operating parameters): Supports no list identifier: no Maximum target descriptor count: 2 Maximum segment descriptor count: 1 Maximum descriptor list length: 92 bytes Maximum segment length: 33553920 bytes Inline data not supported Held data limit: 0 bytes Maximum stream device transfer size: 0 bytes Total concurrent copies: 0 Maximum concurrent copies: 255 Data segment granularity: 512 bytes Inline data granularity: 1 bytes Held data granularity: 1 bytes Implemented descriptor list: Segment descriptor 0x02: Copy from block device to block device Target descriptor 0xe4: Identification descriptor EXIT STATUS
The exit status of sg_copy_results is 0 when it is successful. Otherwise see the sg3_utils(8) man page. AUTHORS
Written by Douglas Gilbert. REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) 2012-2013 Hannes Reinecke and Douglas Gilbert This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_xcopy(sg3_utils) sg3_utils-1.37 June 2012 SG_COPY_RESULTS(8)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy