8 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
I uploaded a .dat file from sftp to my server and after using dos2unix to convert the file and check my work it says that the file was not transferred correctly and that the content is garbled. Please help (3 Replies)
Discussion started by: Ovid158
3 Replies
2. Shell Programming and Scripting
How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
3. AIX
Hi everyone, I have a ibm p65 server with an internal DAT 72 tape drive. When I go to press the eject button the second light will blink for several minutes then stop. If I issue a
tctl -f /dev/rmt0 status it tells me its available and gives back other information.
Now if I try this
tctl -f... (2 Replies)
Discussion started by: bsdtux
2 Replies
4. UNIX for Dummies Questions & Answers
How do I insert a column in a text or .dat file for a date. (2 Replies)
Discussion started by: Maggiepie
2 Replies
5. Shell Programming and Scripting
Hi All,
I am new to unix Shell scripting
Actually i need to write a shell script to insert data from a dat file to ms-Excel file
The data in the dat file will be like this
Col1 Col2 Col3 Col4
and and
Col5
I a new... (1 Reply)
Discussion started by: kreddy2003
1 Replies
6. UNIX for Dummies Questions & Answers
I have a .dat file in unix and it keeps failing file validation on line x. How do I delete a data string from a .dat file in UNIX?
I tried the following:
sed -e 'data string' -e file name
and it telling me unrecognized command (4 Replies)
Discussion started by: supergirl3954
4 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I want to convert Dat file into binary file.
So we have any command in HP Unix. (3 Replies)
Discussion started by: ravi.sadani19
3 Replies
8. Solaris
I am trying to find a way of copying a system DAT tape onto another DAT tape for security reasons. I have tried searching the net for commands but so far I have been unsuccessful. (2 Replies)
Discussion started by: johnrussell
2 Replies
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.11 16 Jul 2004 dat_strerror(3DAT)