07-29-2009
Ok, thanks assume there won't be any issues as far syntax is concerned for sh and ksh I can close this thread.
Will be back with issues, when i actually start the migration and error if i get any
Thanks for the help.
Regards,
Arvind.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help in awk please help immediatly.
This below function is taking lot of time
Please help me to fine tune it so that it runs faster.
The file count is around 3million records
# Process Body
processbody() {
#set -x
while read line
do
... (18 Replies)
Discussion started by: icefish
18 Replies
2. UNIX for Dummies Questions & Answers
I'm having trouble running this script. I'm new to Unix so be kind please.
#!/bin/sh
# Test to make sure only a single parameter is passed from the
# command line.
if
then
echo "Usage: AC.sh <directory>"
exit
fi
# Is the parameter a directory test
if
then
echo... (3 Replies)
Discussion started by: FSUdude08
3 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write an automated shell program(s) that can create, monitor the log files and report the issues for matching... (0 Replies)
Discussion started by: itian2010
0 Replies
4. HP-UX
All,
We are migrating an application from HP-UX B.11.00 to HP-UX B.11.31 and both of them have the same informix version - 7.25se. However the compilers are different on both servers.
HP-UX B.11.00 - has B3913DB C.03.33 HP aC++ Compiler (S800)
HP-UX B.11.31 - has PHSS_40631 1.0 HP C/aC++... (2 Replies)
Discussion started by: helper
2 Replies
5. Shell Programming and Scripting
Hi,
There's a shell script by name "download", which has been created as user "mgr" and that script needs to executed as user "dev".
I tried giving privileges 701 on the script download.
But it's throwing the error message
bin]$ ./download
/bin/bash: ./download: Permission denied
... (6 Replies)
Discussion started by: venkatesh17
6 Replies
6. Shell Programming and Scripting
Hi all,
I have the following Perl script which is intended to run a Shell script and generate some logging for the purposes of tracking weather or not the script ran.
I get an error, of course, since I don't know what I'm doing really.
Here is the code:
#!/opt/perl/bin/perl -w
... (14 Replies)
Discussion started by: zixzix01
14 Replies
7. Shell Programming and Scripting
Hi,
Could you please let me know what kind of changes/issues commonly occurs at Scripting /command level during AIX Unix (kshell) to Linux shell script migration. (24 Replies)
Discussion started by: Raghuraman.R
24 Replies
8. Shell Programming and Scripting
Hi,
I'm facing issues while trying to run a sample program on Linux.
If I try to run the script using the command "sh <filename.prog>", it doesn't work. But, if I try to execute it using the command "ksh <filename.prog>", it works fine.
Even ". ./filename.prog" works fine.
Can you... (6 Replies)
Discussion started by: venkatesh17
6 Replies
9. Shell Programming and Scripting
My current requirement is to replace xxyxx string with value of date
date1 variable holds a date
and the current script writes html tags to a file as follows
echo date1
nawk 'BEGIN{
FS=","
print "<HTML>""<HEAD>""<p>Hi All,<br><br>There are no cases closed on the xxyxx"
print ... (2 Replies)
Discussion started by: Rajesh A S
2 Replies
LEARN ABOUT CENTOS
tspi_key_convertmigrationblob
Tspi_Key_ConvertMigrationBlob(3) Library Functions Manual Tspi_Key_ConvertMigrationBlob(3)
TCG Software Stack Developer's Reference
NAME
Tspi_Key_ConvertMigrationBlob - create a wrapped key from a migration blob
SYNOPSIS
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_Key_ConvertMigrationBlob(TSS_HKEY hKeyToMigrate, TSS_HKEY hParentKey,
UINT32 ulRandomLength, BYTE* rgbRandom,
UINT32 ulMigrationBlobLength, BYTE* rgbMigrationBlob);
DESCRIPTION
Tspi_Key_ConvertMigrationBlob takes the migration blob built by Tspi_Key_CreateMigrationBlob using the migration scheme TSS_MS_MIGRATE and
creates a normal wrapped key. The resulting normal wrapped key blob is stored in the instance associated with hKeyToMigrate and may be re-
trieved from that instance by Tspi_GetAttribData.
PARAMETERS
hKeyToMigrate
The handle of the key object to convert.
hParentKey
Handle to the parent key related to the key addressed by hKeyToMigrate.
ulRandomLength
Length of random data provided at the parameter rgbRandom.
rgbRandom
Random data as returned together with the migration blob by the method Tspi_Key_CreateMigrationBlob.
ulMigrationBlobLength
Length of the migration blob data provided at the parameter rgbMigrationBlob.
rgbMigrationBlob
Migration blob data as returned by a previously called method Tspi_Key_CreateMigrationBlob.
RETURN CODES
Tspi_Key_ConvertMigrationBlob returns TSS_SUCCESS on success, otherwise one of the following values is returned:
TSS_E_INVALID_HANDLE
hKeyToMigrate or hParentKey is not a valid handle.
TSS_E_INTERNAL_ERROR
An internal SW error has been detected.
TSS_E_BAD_PARAMETER
One or more parameters is bad.
CONFORMING TO
Tspi_Key_ConvertMigrationBlob conforms to the Trusted Computing Group Software Specification version 1.1 Golden
SEE ALSO
Tspi_Key_LoadKey(3), Tspi_Key_UnloadKey(3), Tspi_Key_CertifyKey(3), Tspi_Key_CreateMigrationBlob(3).
TSS 1.1 2004-05-25 Tspi_Key_ConvertMigrationBlob(3)