Sponsored Content
Top Forums Shell Programming and Scripting is it possible import the variable ? Post 302323550 by panyam on Monday 8th of June 2009 08:52:42 AM
Old 06-08-2009
You can save the output of the scriptA in to a file, and read the same in scriptB. Ofcourse this is not a feasible solution as someone can change or delete the content of this file at any time.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

import

i'm importing tables to oracle 7, but sometimes import give me warnings (not failures) how can i rollback the whole imported tables if warnings occured please advise thanx (2 Replies)
Discussion started by: omran
2 Replies

2. UNIX for Dummies Questions & Answers

import

Dear All, If while the databsae was shut down, an import command has been done. Will the import result will return 1? Best Regards, Omran (1 Reply)
Discussion started by: omran
1 Replies

3. Shell Programming and Scripting

exceptions in import

Hello, I want to import an Oracle database file on my fresh DB, bought before successfully with exp command. But is it possible to import some tables from the dmp file, because they are too large and it's so long !? I didn't find any option in imp command to make exception on certain tables...... (1 Reply)
Discussion started by: madmat
1 Replies

4. Solaris

x 86 svccfg import error

I get this error I have a laptop with solaris 10 x86 installed How can I go about this Thank you State: offline Reason: Start method is running See: Sun Message ID: SMF-8000-C4 See: /etc/svc/volatile/system-install-discovery:default.log Impact: 11 dependent services are not running:... (1 Reply)
Discussion started by: oscarl
1 Replies

5. Shell Programming and Scripting

Import variable

Can i import a value of a variable in a different related script. (2 Replies)
Discussion started by: manish.s
2 Replies

6. Solaris

How to import the new service

Hi How to import the new service which i created without root permission. As well how we can set the uid in service. When i import i got the following error, svccfg import /var/svc/manifest/site/newservice.xml svccfg: Could not create temporary service "TEMP/site/newservice"... (6 Replies)
Discussion started by: kalpeer
6 Replies

7. Shell Programming and Scripting

import string from file A to become variable in file B

i need to fetch string from file A into varible at file B example: $cat A.txt 2271 B.sh #!/bin/sh number=2271(from file A) kill -9 $number so,how can i make it happen? Thx (5 Replies)
Discussion started by: bremboz
5 Replies

8. Shell Programming and Scripting

export / import

I have a calling script which consists of calls to other scripts via the sh command. ie vi callscript.sh sh smallscript1.sh extra unix commands sh smallscript2.sh exit In smallscript1, I prompt for a filename, which I handle via :- read f1 export f1 I then need... (5 Replies)
Discussion started by: malts18
5 Replies

9. Shell Programming and Scripting

How to import a value from txt file

Hello, I want to give a value from a txt file to my variable at my ksh script. I`ve searched on the net and I found the command variable < file.txt but it cannot see the file. The .txt file contains two values in the first and the second line. Is there any way to give the first-line value to... (1 Reply)
Discussion started by: chris_euop
1 Replies

10. UNIX for Dummies Questions & Answers

How to import a variable Used in Another Korn Shell Script?

Hi I am using two shell scripts which are running on the system simultaneously. And in one of the script i am exporting an Integer Variable. Now i want to use the variable in another script. But i cannot run the first script in the second as the first script has many other functions which... (3 Replies)
Discussion started by: Ajesh
3 Replies
CSDP(1) 						      General Commands Manual							   CSDP(1)

NAME
csdp - semidefinite program solver SYNOPSIS
csdp <problemfile> <finalsolution> <initialsolution> csdp-complement <inputgraph> <outputgraph> csdp-graphtoprob <graph> <problemfile> csdp-randgraph <rand_graph> <file> <n> <p> [<seed>] csdp-theta <graph> DESCRIPTION
This manual page documents briefly the csdp, csdp-complement, csdp-graphtoprob, csdp-randgraph and csdp-theta commands. csdp -- interface to solve general semi-definite programs csdp-complement -- compute the complement of a graph and output it in csdp problem format csdp-graphtoprob -- convert graph into csdp problem format file csdp-randgraph -- generate a random graph csdp-theta -- solves the Lovasz thetha problem OPTIONS
A summary of options is included below. For a complete description, see /usr/share/doc/coinor-csdp-doc/csdpuser.pdf. csdp inputproblem in the SDPA sparse format problemfile is the name of a file containing the SDP problem in SDPA sparse format finalsolution is the optional name of a file in which to save the final solution initialsolution is the optional name of a file from which to take the initial solution. CSDP searches for a file named param.csdp in the current directory. If no such file exists, then default values for all of CSDP's parame- ters are used. If there is a parameter file, then CSDP reads the parameter values from this file. The default parameter values is given below (can be pasted into a file): axtol=1.0e-8 atytol=1.0e-8 objtol=1.0e-8 pinftol=1.0e8 dinftol=1.0e8 maxiter=100 minstepfrac=0.90 maxstepfrac=0.97 minstepp=1.0e-8 minstepd=1.0e-8 usexzgap=1 tweakgap=0 affine=0 printlevel=1 perturbobj=1 fastmode=0 param.csdp file parameter description axtol atytol objtol tolerances for primal feasibility, dual feasibility, and relative duality gap pinftol dinftol tolerances used in determining primal and dual infeasibility maxiter plimit the total number of iterations that CSDP may use minstepfrac maxstepfrac determine how close to the edge of the feasible region CSDP will step. If the primal or dual step is shorter than min- stepp or minstepd, then CSDP declares a line search failure. usexzgap If parameter 0, then CSDP will use the objective function duality gap instead of the tr(XZ) gap tweakgap if set to 1, and usexzgap is set to 0, then CSDP will attempt to "fix" negative duality gaps. affine If parameter affine is set to 1, then CSDP will take only primal-dual affine steps and not make use of the barrier term. This can be useful for some problems that do not have feasible solutions that are strictly in the interior of the cone of semidefinite ma- tri- ces. printlevel determines how much debugging information is output. Use printlevel=0 for no output and printlevel=1 for normal output. Higher values of printlevel will generate more debugging output. perturbobj determines whether the objective function will be perturbed to help deal with problems that have unbounded optimal solution sets. If per- turbobj is 0, then the objective will not be perturbed. If perturbobj=1, then the objective function will be perturbed by a default amount. Larger values of perturbobj (e.g. 100.0) increase the size of the perturbation. This can be helpful in solving some difficult problems. fastmode determines whether or not CSDP will skip certain time consuming operations that slightly improve the accuracy of the solutions. If fastmode is set to 1, then CSDP may be somewhat faster, but also somewhat less accurate. SEE ALSO
dsdp5(1),theta(1) The programs are documented fully in the accompanying .pdf documentation which can be found in /usr/share/doc/coinor-csdp-doc if the coinor-csdp-doc package is installed. AUTHOR
csdp was written by Brian Borchers et al. This manual page was written by Soeren Sonnenburg <sonne@debian.org>, for the Debian project (but may be used by others). April 11, 2009 CSDP(1)
All times are GMT -4. The time now is 01:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy