Sponsored Content
Full Discussion: help remote procedure call
Top Forums UNIX for Advanced & Expert Users help remote procedure call Post 302316797 by auto2000 on Saturday 16th of May 2009 04:23:49 PM
Old 05-16-2009
help remote procedure call

i am beginig with unix
c code for sun remote procedure call to do the following:
1- The clients reads in a variable length array from the command line
2- The client offers a menu for the user to choose what to do with the array:
a. Sort the array
b. Add the array
c. Find max
d. Find min
(pass array from client to server process it and return the result to the client, client and server build in the same machine)
Each option calls a remote function on the server that implements the corresponding functionality. The default remote server is the localhost, unless specified through the command line input
3- According to the chosen function, an output is displayed on the screen with the result returned from the server
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to call SQL procedure from UNIX Shellscript ?

Hi All I would be thankful to you all if you will guide me the steps to call a stored proc. from unix shell script. that stored proc. could be parameterised or parameterless developed in SQL. Any info. in this topic would help me..... Thanks in advance.... (1 Reply)
Discussion started by: varungupta
1 Replies

2. Shell Programming and Scripting

Need to call stored procedure from unix script

Hi Guys, I have a stored procedure which has 5 out parameters. I need to call the stored procedure from the script. When i use the following in my script, db2 "CALL FCFM.PART_MASTER_TMP($Return_code,$Message,$Message1,$SQL,$Load_count)" >> $LOG_FILE I am getting an error.. Please... (1 Reply)
Discussion started by: mac4rfree
1 Replies

3. Shell Programming and Scripting

need to call 3 stored procedure at the same time

Hi GUYS, I need to trigger 3 stored procedure at the same time.. I know how to trigger the stored procedure. If anybody can tell me how to trigger 3 different process at the same time parallelly.. that would be helpful.. Thanks for your help in advance, Magesh (1 Reply)
Discussion started by: mac4rfree
1 Replies

4. Programming

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

5. UNIX for Dummies Questions & Answers

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

6. Programming

help remote procedure call

am beginig with unix c code for sun remote procedure call You are to write a program using RPC facility to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array... (1 Reply)
Discussion started by: auto2000
1 Replies

7. Shell Programming and Scripting

Shell Script for call a procedure in Oracle DB

Hi everyone! I'm new with Shell Scripting, and I have to do a shell script to call a procedure, which have 2 input parameters, the directory(from server) and the txt file (which have informations to update/insert in DB). I have to create a shell script to execute that procedure for each txt... (5 Replies)
Discussion started by: renatoal
5 Replies

8. Shell Programming and Scripting

Call procedure multiple time

Hi, I have following script which calls sql to create staging table.How do I call load_data_to_oracle() multiple times so that it creates 4 staging as follows. 1.t1_rpt_1day_stg 2.t1_rpt_7day_stg 3.t1_rpt_30day_stg 4.t1_rpt_CTD_stg --shell script load_data_to_oracle() { #... (9 Replies)
Discussion started by: sandy162
9 Replies

9. Shell Programming and Scripting

How to use special character in procedure call?

Hi, I have following script which calls sql to create staging table like t1_rpt_1day_stg,t1_rpt_7day_stg The following line has '*' and causing all data in directory to show up in email notification but if I give all column names then it works, Please let me know how to use '*' instead of... (4 Replies)
Discussion started by: sandy162
4 Replies

10. Shell Programming and Scripting

How to call a stored procedure inside a loop?

How to call a stored procedure inside a loop export PATH=$ORACLE_HOME/bin:$PATH ORACLE_SID=xxxx; export ORACLE_SID ORAENV_ASK=NO TODAY_DATE=$(date +"%Y%m%d") LOGFILE=/var/opt/gogd/cust/scripts/${TODAY_DATE}_sap_cust_rel.log echo 'Connected' PARCUST=sap_cust_rel.par sqlldr... (1 Reply)
Discussion started by: ashwanth
1 Replies
showmount(1M)															     showmount(1M)

NAME
showmount - show all remote mounts SYNOPSIS
[host] DESCRIPTION
lists all clients that have remotely mounted a file system from host. This information is maintained by the server on host (see mountd(1M)). The default value for host is the value returned by (see hostname(1)). Options Print all remote mounts in the format where hostname is the name of the client, and directory is the root of the file system that has been mounted. List directories that have been remotely mounted by clients. Print the list of shared file systems. WARNINGS
If a client crashes, executing on the server will show that the client still has a file system mounted. In other words, stale entries may accumulate for clients that crash without sending an unmount request. Also, if a client mounts the same remote directory twice, only one entry appears in Doing a of one of these directories removes the single entry and no longer indicates that the remote directory is mounted. FILES
remote mounted filesystem table AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
hostname(1), mountd(1M), share(1M), share_nfs(1M), rmtab(4). showmount(1M)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy