dat_strerror(3DAT) Direct Access Transport Library Functions dat_strerror(3DAT)NAME
dat_strerror - convert a DAT return code into human readable strings
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_strerror(
IN DAT_RETURN return,
OUT const char **major_message,
OUT const char **minor_message
)
PARAMETERS
return DAT function return value.
message A pointer to a character string for the return.
DESCRIPTION
The dat_strerror() function converts a DAT return code into human readable strings. The major_message is a string-converted DAT_TYPE_STA-
TUS, while minor_message is a string-converted DAT_SUBTYPE_STATUS. If the return of this function is not DAT_SUCCESS, the values of
major_message and minor_message are not defined.
If an undefined DAT_RETURN value was passed as the return parameter, the operation fails with DAT_INVALID_PARAMETER returned. The operation
succeeds when DAT_SUCCESS is passed in as the return parameter.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INVALID_PARAMETER Invalid parameter. The return value is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libdat(3LIB), attributes(5)SunOS 5.10 16 Jul 2004 dat_strerror(3DAT)
Check Out this Related Man Page
dat_rmr_create(3DAT) Direct Access Transport Library Functions dat_rmr_create(3DAT)NAME
dat_rmr_create - create an RMR for the specified Protection Zone
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_rmr_create(
IN DAT_PZ_HANDLE pz_handle,
OUT DAT_RMR_HANDLE *rmr_handle
)
PARAMETERS
pz_handle Handle for an instance of the Protection Zone.
rmr_handle Handle for the created instance of an RMR.
DESCRIPTION
The dat_rmr_create() function creates an RMR for the specified Protection Zone. This operation is relatively heavy. The created RMR can be
bound to a memory region within the LMR through a lightweight dat_rmr_bind(3DAT) operation that generates rmr_context.
If the operation fails (does not return DAT_SUCCESS), the return values of rmr_handle are undefined and Consumers should not use them.
The pz_handle parameter provide Consumers a way to restrict access to an RMR by authorized connection only.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INSUFFICIENT_RESOURCES The operation failed due to resource limitations.
DAT_INVALID_HANDLE The pz_handle parameter is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO dat_rmr_bind(3DAT) , libdat(3LIB), attributes(5)SunOS 5.11 16 Jul 2004 dat_rmr_create(3DAT)
I have a file name coming in as such
<string>_YYYYMMDD.DAT
The string could be anything. I want to cut out the date and put it in a variable. Can someone help me with this? (4 Replies)
Hi,
Im new to this forum, and also to Unix.
I have a requirement like this.
i have one DAT file that contains data as follows,
EMPNAME,
DEPT,
SALARY,
JOIN_DT,
DEDUCTION
i have one configuration file that contains data as follows,
SALARY
BONUS
DEDUCTION (5 Replies)
Hi
I have a file called as MSD.DAT. This file is present at a directory on a server.
www.ta.ibhsv.somewhere.com/rahdf/MSD.DAT
Now, I want to get this file from this server to my Linux box. I need to write a script that uses https to get the file.
Please help how to achieve this.
... (3 Replies)
I have these files in a directory. It may have more class than the sample below:
DEPT_CHEM101LEC_D_20110301.DAT
DEPT_CHEM101LAB_D_20110301.DAT
DEPT_BIO105LEC_D_20110325.DAT
DEPT_BIO105LAB_D_20110325.DAT
DEPT_CSC308LEC_D_20110327.DAT
DEPT_CSC308LAB_D_20110327.DAT
Is there way to extract out... (5 Replies)
All,
I have a set of files in the Source , e-g
Afile.DAT
Bfile.DAT
Cfile.DAT
....
AAfile.DAT ...etc
I will know for sure the list of file name before I copy the same from the Source area
Before I copy the files to Target , I need to make sure that I have received all the files... (5 Replies)
Hello ,
I am trying to replace a pattern in shell script , basically there is a file with the list of tables like
A.DAT
B.DAT
C.DAT ..
I will need to replace a prefix for the list
TESTA.DAT
TESTB.DAT
TESTC.DAT
Do I need to use <tr> or sed , I am not sure whether I need to... (4 Replies)
hlow all
i have file like this :
BDG0100.2011091620162100CF5341.DAT
BDG0100.2011091720175500CF5342.DAT
BDG0100.2011091820192900CF5343.DAT
BDG0100.2011091920210600CF5344.DAT
but now i want make file like this
20110916.DAT
20110919.DAT
20110918.DAT
20110919.DAT
so what i can do that... (3 Replies)
Am using unix aix KSH...
I have the files called
MMRR0106.DAT
MMRR0206.DAT
MMRR0406.DAT
MMRR0506.DAT
MMRR0806.DAT
....
...
MMRR3006.DAT
MMRR0207.DAT
These files are in one dircetory /venky ?
I want the output like this ?
Missing files are :
MMRR0306.DAT
MMRR0606.DAT... (7 Replies)
Hi All,
I am trying to run awk command on .DAT file and it is not working. The same command is working on .txt file:
Contents of the file ZZ_55555555_444444_ZZZZZZ_7777777_888_99.DAT:
HEADER|ZZ_55555555_444444_ZZZZZZ_7777777_888_99.DAT... (10 Replies)
Hello
I have a folder with around a 100 files. Some of these files have an extension of .DAT.csv and the others are simply .DAT
I need to rename all those files ending in .DAT.csv to .DAT. I tried out the following script:
cd /data/AED/DEV/IN/MENSUEL/B3C/FEERIE/BASCULE/TEST
cnt=1
for fname... (3 Replies)
Hi Gurus,
I need to identify the file with below format:
ABC20110101.DAT
ABCD2011010103.DAT
If I use ABC*\.DAT, it get two file. I want to get file after "ABC' then number, the ".DAT".
I tried
ABC* but it doesn't work.
Thanks in advance. (9 Replies)
Hi All,
Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement .
Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks .
We have... (4 Replies)
Dear All,
I will be having the below files in a directory.
FORM_9757_TYUIOP_1.DAT
FORM_9840_OPRTOP_2.DAT
FORM_9757_TIRTOP_3.DAT
So, from the directory, I have to find only those file which have "OP" at the highlighted position. The file name format is fixed.
Please help :( (13 Replies)
Hi Team,
I am having 100 EBCDIC files (i.e. DAT extension) and need to convert them into ASCII File by unix shell script.
I tried with DD Command but its not providing output as expected.
Sample Text:
------------------
גהאבדוחס@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Expected Output:... (2 Replies)