ldgetpd(3x)ldgetpd(3x)Name
ldgetpd - retrieve procedure descriptor given a procedure descriptor index
Syntax
#include <stdio.h>
#include <filehdr.h>
#include <sym.h>
#include <ldfcn.h>
long ldgetpd (ldptr, ipd, ppd)
LDFILE ldptr;
long ipd;
pPDR ipd;
Description
The function returns success or failure depending on whether the procedure descriptor with index ipd can be accessed. If it can be
accessed, the structure pointed to by ppd is filled with the contents of the corresponding procedure descriptor. The isym, iline, and iopt
fields of the procedure descriptor are updated to be used in further LD routine calls. The adr field is updated from the symbol referenced
by the isym field.
The PDR cannot be retrieved when the following occurs:
o The procedure descriptor table cannot be found.
o The ipd offset into the procedure descriptor table is beyond the end of the table.
o The file descriptor that the ipd offset falls into cannot be found.
Typically, is called while traversing the table that runs from 0 to SYMHEADER(ldptr).ipdMax - 1.
See Alsoldclose(3x), ldopen(3x), ldtbseek(3x), ldtbread(3x), ldfcn(5)
RISC ldgetpd(3x)
Check Out this Related Man Page
ldgetpd(3) Library Functions Manual ldgetpd(3)NAME
ldgetpd - Retrieves procedure descriptor given a procedure descriptor index
SYNOPSIS
#include <stdio.h> #include <filehdr.h> #include <sym.h> #include <ldfcn.h>
long ldgetpd (ldptr, ipd, ppd ) LDFILE ldptr ; long ipd ; pPDR ipd ;
DESCRIPTION
The ldgetpd routine returns a SUCCESS or FAILURE depending on whether the procedure descriptor with index ipd can be accessed. If it can
be accessed, the structure pointed to by ppd is filled with the contents of the corresponding procedure descriptor. The isym, iline, and
iopt fields of the procedure descriptor are updated to be used in further LD routine calls. The adr field is updated from the symbol refer-
enced by the isym field.
The PDR cannot be retrieved when: The procedure descriptor table cannot be found. The ipd offset into the procedure descriptor table is
beyond the end of the table. The file descriptor that the ipd offset falls into cannot be found.
Typically, ldgetpd is called while traversing the table that runs from 0 to SYMHEADER(ldptr).ipdMax - 1.
The program must be loaded with the object file access routine library libmld.a.
RELATED INFORMATION ldclose(3), ldopen(3), ldtbseek(3), ldtbread(3), ldfcn(4). delim off
ldgetpd(3)
Hi can anyone help me in
how to
1) invoke batch profile to run sqlplus on XXXXX server.
2) execute truncate table xtra.xtra_card_email_request using procedure dbadmin.truncate_table .
3) Check the count before and after the job run. (1 Reply)
Dear Friends,
Am an newbie to this domain. I have a table which is filled with contents which i need to be updated with,so am trying to design a flow which would read the data from the table and mail it to me at regular intervals. I could make out the flow using mailx command but want to... (3 Replies)
Hi one help,
I need one procedure to load data from flat file to table. Table name as input parameter for the procedure. can anyone help me
Thanks,
Raj, (1 Reply)
Hi,
I have a stored procedure which takes in arguments from my script and deletes rows from a table.
Before calling the procedure from the script i want to make sure if the procedure actually exists.If it exists, i want to pass values to the procedure and execute it.if the stored procedure... (3 Replies)
Hi,
My stored procedure returns a value.
How to retrieve the value and display in unix.
Stored procedure
CREATE OR REPLACE
PROCEDURE gohan(num INT) IS
BEGIN
DBMS_OUTPUT.PUT_LINE('My lucky number is ' || num);
END;
Unix Scripting i used
sqlplus -s... (7 Replies)
hi there, I am trying to create a stored procedure that i can pass the table name to and it will create a table with that name. but for some reason it creates with what i have defined as the variable name . In the case of the example below it creates a table called 'tname'
for example
... (6 Replies)
Hello, I need some advice how to to create one big transactional table.
My table has following columns
person_id, trans_id, date, dep_id, material_id, input, outpu, total
I created procedure from which I will enter all transaction into that table. Problem is I don't have any idea how... (3 Replies)
Hi All,
I have a syntax problem with a procedure in oracle. I am looking to just produce the number of rows
from each table located in the HR schema nothing complex. This procedure works great up to dbms_output.put_line(tab_var); where it lists the names of each table in the user schema.
My... (5 Replies)