Search Results

Search: Posts Made By: gthangav
8,736
Posted By gthangav
$md5sum outputfile ksh: md5sum: not found
$md5sum outputfile
ksh: md5sum: not found
8,736
Posted By gthangav
I am not sure what is md5sum. Could you...
I am not sure what is md5sum.

Could you explain with an example?:)
8,736
Posted By gthangav
Currently we are using ndmcli. We can not change...
Currently we are using ndmcli. We can not change it to some other option.

Since external application asks us to confirm the file size, we can not tell them that you should trust the ndm. For safer...
8,736
Posted By gthangav
Yes, it may be accurate. But we are sending...
Yes, it may be accurate.

But we are sending files to external application. If suppose its delayed from normal time, they just wanted to confirm the size at our end.

Since its a manual process...
8,736
Posted By gthangav
Is there any option to verify size at destination end after NDM?
Hi,

I am using ndmcli to send files from one solaris server to another one.

I use the below one in script and verify the status.

select stat det=yes pnum="$PNUM"

Is there any option to...
1,875
Posted By gthangav
any help?:confused:
any help?:confused:
1,875
Posted By gthangav
I have not automated password less authentication...
I have not automated password less authentication anywhere in script. I guess , its stored somewhere in settings.

I have used the below command to download the files from SVN in script.
svn...
1,875
Posted By gthangav
Prompting for password
Hi,

I have SVN installed in my UNIX solaris server.

I actually automated the process that downloads code from SVN server to UNIX solaris server in script. When i run the script, its asking for...
Forum: Programming 01-17-2013
1,675
Posted By gthangav
I have to get my values like below (dbx)...
I have to get my values like below

(dbx) print -L *s_tag *s_tag = { s_tag.abc = "000000" s_tag.def = '0':b: s_tag.ghi = '0':b: }
but i am getting values like...
Forum: Programming 01-17-2013
1,675
Posted By gthangav
Unable to assign zero to unsigned character array
Hi,

I am unable to assign value zero to my variable which is defined as unsigned char.


typedef struct ABCD
{
unsigned char abc[6];
unsigned char def;
unsigned char ghi;
...
Forum: Programming 01-16-2013
6,321
Posted By gthangav
sqlca.sqlerrd[2] will give the number of rows...
sqlca.sqlerrd[2] will give the number of rows fetched by the cursor. I am incrementing i to get the next record.

If i matches the number of rows fetched i.e sqlca.sqlerrd[2], it will break the...
Forum: Programming 01-11-2013
6,321
Posted By gthangav
One more issue:mad: Please help me to write...
One more issue:mad:

Please help me to write Cursor FOR loop in Pro*C


for(i=1; ;i++)
{
EXEC SQL FETCH getdata
INTO
:device_type_Cur:Ind_device_type;

pReturn->abc.device_type =...
Forum: Programming 01-11-2013
6,321
Posted By gthangav
Wow.......... stopped in abc at line 566 in...
Wow..........

stopped in abc at line 566 in file "abc.c"
566 pReturn->abc.device_type = device_type_Cur[0];
(dbx) next
stopped in abc at line 568 in file "abc.c"...
Forum: Programming 01-10-2013
6,321
Posted By gthangav
Hi Corona688, I have used the below ...
Hi Corona688,

I have used the below
pReturn->abc.device_type=device_type_Cur;But i got the warning message that
warning: improper pointer/integer combination: op "="

In debug mode, it has...
Forum: Programming 01-10-2013
6,321
Posted By gthangav
Signal SEGV (no mapping at the fault address) in _memcpy at 0xff0b07c0
Hi,

I am unable to copy the cursor value into character variable which is defined in nested structure by pointer.


typedef struct aaa
{
unsigned char device_type;
unsigned char...
3,243
Posted By gthangav
set eType = `grep -v "^#" $GP_SUA$GP_ET/s.cf |...
set eType = `grep -v "^#" $GP_SUA$GP_ET/s.cf | grep "engineType" | awk -F= '{print $2}'`

O/p-> BSD_8GB
3,243
Posted By gthangav
value of $eType pased from the other file using...
value of $eType pased from the other file using grep.:wall:,In normal case work fine.
3,243
Posted By gthangav
C Shell Scripting on SUA windows 7
hi,

Even $eType is BSD_8GB

echo $eType
switch ( $eType )
case BSD_8GB:
case BSD_12GB:
echo "excuted BSD_8GB & BSD_12GB"
breaksw
default:
...
31,847
Posted By gthangav
mkdir -p option in SFTP session
Hi,

I am trying to create more than one directory by using -p option in SFTP session.
But it created a directory named -p and ended.

It didn't throw any error.

sxxxxxxx:(abc)/test> sftp...
9,836
Posted By gthangav
tmp.csh #!/bin/csh #setenv PATH...
tmp.csh

#!/bin/csh
#setenv PATH .:$TOP/bin:$TOP/RMBIN/bin:$INTERIX_ROOT
setenv PATH "${PATH}:.:$TOP/bin:$TOP/RMBIN/bin:$GP_SUA/:$INTERIX_ROOT"
source /dev/fs/C/gp/bin/tmp1.csh
echo "hi2"
...
9,836
Posted By gthangav
Try same application in csh & tell me whether...
Try same application in csh & tell me whether working or not. Because for sh shell working fine.
File1 āTmp.csh:
#!/bin/csh
echo "hi1"
. /tmp1.csh

File2ātmp1.csh
#!/bin/csh
echo "hi2"
...
9,836
Posted By gthangav
:wall:Still same issue. :permission denied. ...
:wall:Still same issue. :permission denied.

---------- Post updated at 04:26 AM ---------- Previous update was at 04:19 AM ----------

Below mentioned command only using to execute the script....
9,836
Posted By gthangav
Unable to call a script from another script in cshell
Hi,

I am unable to call one script from another script in c shell on windows SUA environment.

Please find below code ,

File1 āTmp.csh:
#!/bin/csh
setenv PATH...
2,167
Posted By gthangav
Can anyone explain me how to use sudo option with...
Can anyone explain me how to use sudo option with example?

---------- Post updated 08-29-12 at 01:49 AM ---------- Previous update was 08-28-12 at 11:10 PM ----------


After doing su, my...
2,167
Posted By gthangav
Then Please let me know how i can update my...
Then Please let me know how i can update my script.:wall:
Showing results 1 to 25 of 27

 
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy