Hello forum members.
please go through the below mentioned issue and let me know the right solution.
I have to write a script which runs another script .the executable script take input parmeters.so iam writing the the script below .
Sample Code:Begins
#! /bin/ksh
echo " enter... (2 Replies)
Hi, Unix Gurus,
I got some issue with my script.
#!/usr/bin/ksh
while read newstatus
do
if ; then
echo "It is finished "
else
echo "Not Finished"
fi
done <checkresult.txt
basically, I want to read one file (the file only contains one word, but it dynamically changed),... (2 Replies)
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
Hi
I am extracting a column value(DESCRIPTION) from one table and passing it to another db2 statement in a shell code to fetch some value(ID) but the value when passed in where condition is taking as newline+value.
Please find the out put when executed:
+ echo description is ::::... (1 Reply)
Hi,
I have prepared the below shell script for one of the requirement which accesses Informatica application and performs certain functions.
But for some reason, if condition fails and scripts stops abruptly with the below error. Please let me know the where the problem is
#!/bin/ksh
... (2 Replies)
hi,
i am using a simple condition
end_ct=`sqlplus -s $ORACLE_USER/$ORACLE_PASS@$ORACLE_SID << EOF
select description from bravo_statistics
where trunc(time_stamp)=trunc(sysdate)-1
and description='END CAT';
EOF`
echo $end_ct;
echo... (30 Replies)
Hi
I am trying to do a "IF" Condition in UNIX where we compare EACH file size in a directory with a SIZE (Parameter passed)
If Each File size EXCEEDS parameter passed SIZE then we manipulate the file.
Somehow the IF condition do not work ?? (is this Variable decalration issue ??)
... (9 Replies)
Getting syntax error when the condition after -o returns more than one file
if
then
echo "Found"
fi
output:
=>ls -l
total 5
-rw-rw-r-- 1 wes wes 0 Jun 25 04:51 a.done
-rw-rw-r-- 1 wes wes 0 Jun 25 04:51 a.zip
-rw-rw-r-- 1 wes wes ... (13 Replies)
Solaris 11 ksh93 if condition issue
Has anyone run into issues with Solaris 11 with ksh93 if condition where it intermittently return wrong return code?
We did not see this issue in Solaris 10 with ksh88
Any thoughts? Thanks!
Solaris version: SunOS t52-ccc-28 5.11 11.2... (4 Replies)
Hi everybody,
I must get trought a shell script 3 arguments.
1st argument = $1 (can take values REP1..4)
2nd argument = $2 (can take values A..Z)
3rd arguement = $3 (also can take values A...Z)
I've written this code :
#!/bin/bash
if
then
liste=/data/folder1
echo... (6 Replies)
Discussion started by: shellX
6 Replies
LEARN ABOUT DEBIAN
bpdriver
BPDRIVER(1) BP executables BPDRIVER(1)NAME
bpdriver - Bundle Protocol transmission test program
SYNOPSIS
bpdriver nbrOfCycles ownEndpointId destinationEndpointId [length] [tTTL]
DESCRIPTION
bpdriver uses Bundle Protocol to send nbrOfCycles application data units of length indicated by length, to a counterpart application task
that has opened the BP endpoint identified by destinationEndpointId.
If omitted, length defaults to 60000.
TTL indicates the number of seconds the bundles may remain in the network, undelivered, before they are automatically destroyed. If
omitted, TTL defaults to 300 seconds.
bpdriver normally runs in "echo" mode: after sending each bundle it waits for an acknowledgment bundle before sending the next one. For
this purpose, the counterpart application task should be bpecho.
Alternatively bpdriver can run in "streaming" mode, i.e., without expecting or receiving acknowledgments. Streaming mode is enabled when
length is specified as a negative number, in which case the additive inverse of length is used as the effective value of length. For this
purpose, the counterpart application task should be bpcounter.
If the effective value of length is 1, the sizes of the transmitted service data units will be randomly selected multiples of 1024 in the
range 1024 to 62464.
bpdriver normally runs with custody transfer disabled. To request custody transfer for all bundles sent by bpdriver, specify nbrOfCycles
as a negative number; the additive inverse of nbrOfCycles will be used as its effective value in this case.
When all copies of the file have been sent, bpdriver prints a performance report.
EXIT STATUS
0 bpdriver has terminated. Any problems encountered during operation will be noted in the ion.log log file.
FILES
The service data units transmitted by bpdriver are sequences of text obtained from a file in the current working directory named
"bpdriverAduFile", which bpdriver creates automatically.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
Diagnostic messages produced by bpdriver are written to the ION log file ion.log.
Can't attach to BP.
bpadmin has not yet initialized Bundle Protocol operations.
Can't open own endpoint.
Another application has already opened ownEndpointId. Terminate that application and rerun.
Can't create ADU file
Operating system error. Check errtext, correct problem, and rerun.
Error writing to ADU file
Operating system error. Check errtext, correct problem, and rerun.
bpdriver can't create file ref.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
bpdriver can't create ZCO.
ION system error. Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.
bpdriver can't send message
Bundle Protocol service to the remote endpoint has been stopped.
bpdriver reception failed
bpdriver is in "echo" mode, and Bundle Protocol delivery service has been stopped.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO bpadmin(1), bpcounter(1), bpecho(1), bp(3)perl v5.14.2 2012-05-25 BPDRIVER(1)