02-21-2002
Thank you very much
Thank you very much guys, I implemented this procedure and works very fine !!!
Sorry for not send my response before, my company replaced our web server ....
Thanks a lot
Jose
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to list all files that were created since 3 month ago.
it exist a unix command to do it ?
thank you (8 Replies)
Discussion started by: yacsil
8 Replies
2. Shell Programming and Scripting
Hello all,
I would like to ask for an advice on how to deal with the following scenario.
Every now and then, our ERP system creates an interface text file with the following file format - XORD????.DLD where ???? is a sequence number. We can have 1 or more XORD files created in an hour. ... (9 Replies)
Discussion started by: negixx
9 Replies
3. UNIX for Dummies Questions & Answers
please help me with this????? :confused: :confused:
i need to create a program that will run in unix that will delete all files in a given directory that is at least 3 months old. first the program will need to automatically know what date it is right now to determine the files it will... (3 Replies)
Discussion started by: godalle
3 Replies
4. UNIX for Dummies Questions & Answers
How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago?
It has to be korn shell script.
Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies
5. Shell Programming and Scripting
Our nightly updates run in the evening and finish around 8am. My boss wants the current log files kept on the server for 2 days, but wants anything created before noon, 2 days prior archived. I was thinking of using touch to set a temporary file with a date of today-2 and a time of noon, then... (3 Replies)
Discussion started by: prismtx
3 Replies
6. Shell Programming and Scripting
Hi All,
Could you please let me know if there is any one can help to create a shell script to remove some files which is the created date for them greate than 10 days (sysdate-10)
Please try to email me on email removed
Thanks in advance,
Murad (1 Reply)
Discussion started by: murad_fayez
1 Replies
7. UNIX for Dummies Questions & Answers
HI,
I have 2 questions.
1>
Is there any code to see files that created some day or some time before in a directory???
2>
how or where i will find the last exit status of a process??
thanks (6 Replies)
Discussion started by: jyotidas
6 Replies
8. Shell Programming and Scripting
i want to find unix file created how many days ago? (4 Replies)
Discussion started by: utoptas
4 Replies
9. Shell Programming and Scripting
Hi,
I want to find the sum of all the files created 5 days ago and store it in a variable. (os is HP-UX)
can this be extracted from ls -l
Is there any other way of getting the sum of all the files created (4 Replies)
Discussion started by: bang_dba
4 Replies
10. UNIX for Beginners Questions & Answers
How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies
LEARN ABOUT ULTRIX
rpc_alloc_handle
rpc_alloc_handle(3ncs) rpc_alloc_handle(3ncs)
Name
rpc_alloc_handle - create an RPC handle (client only)
Syntax
#include <idl/c/rpc.h>
handle_t rpc_$alloc_handle(object, family, status)
uuid_$t *object;
unsigned long family;
status_$t *status;
Arguments
object The UUID of the object to be accessed. If there is no specific object, specify uuid_$nil.
family The address family to use in communications to access the object. Currently, only socket_$ internet is supported.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it
was successful.
Description
The routine creates an unbound RPC handle that identifies a particular object but not a particular server or host.
If a remote procedure call is made using the unbound handle, it will effect a broadcast to all Local Location Brokers (LLBs) on the local
network. If the call's interface and the object identified by the handle are both registered with any LLB, that LLB forwards the request
to the registering server. The client RPC runtime library returns the first response that it receives and binds the handle to the first
responding server.
Examples
The following statement allocates a handle that identifies the Acme company's payroll database object:
h = rpc_$alloc_handle (&acme_pay_id, socket_$internet, &status);
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$comm_failure The client was unable to get a response from the server.
rpc_$unk_if The requested interface is not known. It is not registered in the server, the version number of the registered inter-
face is different from the version number specified in the request, or the UUID in the request does not match the UUID
of the registered interface.
rpc_$cant_create_sock
The RPC runtime library was unable to create a socket.
rpc_$cant_bind_sock The RPC runtime library created a socket but was unable to bind it to a socket address.
rpc_$wrong_boot_time
The server boot time value maintained by the client does not correspond to the current server boot time. The server
was probably rebooted while the client program was running.
rpc_$not_in_call An internal error.
rpc_$you_crashed This error can occur if a server has crashed and restarted. A client RPC runtime library sends the error to the server
if the client makes a remote procedure call before the server crashes, then receives a response after the server
restarts.
rpc_$proto_error An internal protocol error.
Files
See Also
intro(3ncs), rpc_free_handle(3ncs), rpc_set_binding(3ncs)
rpc_alloc_handle(3ncs)