04-08-2010
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all
Iam trying to send an array to oracle procedure from unix. Iam writing a program in K Shell to pass this array to oracle. Is it possible. Please advice
thanks
Krishna (7 Replies)
Discussion started by: krishnasai
7 Replies
2. Shell Programming and Scripting
Hi All,
Does anyone have any solutions for passing back multiple variables back to the SHELL from a call to an ORACLE procedure:
eg
#username='scott'
#password='tiger'
#database='orcl'
username='ITGCD03D03'
password='tC5epIew'
database='ITGCD03D'
sqlplus -s... (4 Replies)
Discussion started by: satnamx
4 Replies
3. Shell Programming and Scripting
Hi,
I have screen which was desined in PL/SQL Catridges in apps. In that screen some enterable fields these values r the passing parameters to create value sets, functions, menus etc in apps by using front end screens. Now in that screen i have a button. when i click that button it have to... (0 Replies)
Discussion started by: rajasekharamy
0 Replies
4. Shell Programming and Scripting
using the script below I want to pass a parameters thorugh my sql
call(@/unixsxxx/xxxx/helpenv.sql emptab ) as input into an oracle procedure xxxx_package.proc1(%1,emptab); . I tried %1 but it does not work. Any suggestions.
#!bin/ksh
set -x
#
export... (0 Replies)
Discussion started by: TimHortons
0 Replies
5. Shell Programming and Scripting
I have a script to fix permissions which is made up of blocks like:
FS_ROOT=/home/shared/Photos
FS_EXCLUDE=( \( -path */.webviews -o -path */.thumbnails \) -prune -o )
find $FS_ROOT ${FS_EXCLUDE} -type d -not -perm 2770 -exec chmod 2770 "{}" \;
That fragment works as expected, but no matter... (3 Replies)
Discussion started by: mij
3 Replies
6. Shell Programming and Scripting
I am trying to execute a copy command via shell script. However, on occassion, 2 or more files need to copied. How do I code for the multiple arguments? Does it matter how the files are delimited?
Example: I have a script to copy files from 1 dir to another called duplicate.csh
In most... (1 Reply)
Discussion started by: CKT_newbie88
1 Replies
7. Programming
Hi,
I am trying to get the oracle variables and pass the values in sql placed in procedure.
VARIABLE
vstat='ASDS,FGDS,VCGD,VCXC'
Query :
select distinct dept from College
where section in ('C','D')
AND CODES =''
AND NAMES IN ('RAJ','SAM');
I want CODES values to be taken from vstat... (1 Reply)
Discussion started by: Perlbaby
1 Replies
8. Shell Programming and Scripting
cat a1
scott
robert
tom
test
script :
#!/usr/bin/ksh
for NAME in `cat a1`
do
VALUE=`sqlplus -silent "nobody/bobody01@testq" <<END
set pagesize 0 feedback off verify off heading off echo off
select username from dba_users where username=upper('$NAME');
END`
if ; then
echo... (3 Replies)
Discussion started by: jhonnyrip
3 Replies
9. Programming
Hello Good Day / Guten Tag....
I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard.
So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() {
public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I have researched and tried many way to pass OUT parameter to be stored in variable in KSH Script.Still not success, please help.
Here is my Store Procedure.
create procedure testout3(v_in varchar2,v_out OUT integer)
as
begin
v_out := 1;
end;
Here is my testvout.ksh
#!/bin/ksh... (1 Reply)
Discussion started by: palita2601
1 Replies
LEARN ABOUT DEBIAN
mdraw_text
mdraw_text(3m17n) The m17n Library mdraw_text(3m17n)
NAME
mdraw_text - Draw an M-text on a window.
SYNOPSIS
int mdraw_text (MFrame * frame, MDrawWindow win, int x, int y, MText * mt, int from, int to)
DESCRIPTION
Draw an M-text on a window. The mdraw_text() function draws the text between from and to of M-text mt on window win of frame frame at
coordinate (x, y).
The appearance of the text (size, style, color, etc) is specified by the value of the text property whose key is Mface. If the M-text or a
part of the M-text does not have such a text property, the default face of frame is used.
The font used to draw a character in the M-text is selected from the value of the fontset property of a face by the following algorithm:
1. Search the text properties given to the character for the one whose key is Mcharset; its value should be either a symbol specifying a
charset or Mnil. If the value is Mnil, proceed to the next step.
Otherwise, search the mapping table of the fontset for the charset. If no entry is found proceed to the next step.
If an entry is found, use one of the fonts in the entry that has a glyph for the character and that matches best with the face properties.
If no such font exists, proceed to the next step.
2. Get the character property 'script' of the character. If it is inherited, get the script property from the previous characters. If
there is no previous character, or none of them has the script property other than inherited, proceed to the next step.
Search the text properties given to the character for the one whose key is Mlanguage; its value should be either a symbol specifying a
language or Mnil.
Search the mapping table of the fontset for the combination of the script and language. If no entry is found, proceed to the next step.
If an entry is found, use one of the fonts in the entry that has a glyph for the character and that matches best with the face properties.
If no such font exists, proceed to the next step.
3. Search the fall-back table of the fontset for a font that has a glyph of the character. If such a font is found, use that font.
If no font is found by the algorithm above, this function draws an empty box for the character.
This function draws only the glyph foreground. To specify the background color, use mdraw_image_text() or mdraw_text_with_control().
This function is the counterpart of XDrawString(), XmbDrawString(), and XwcDrawString() functions in the X Window System.
RETURN VALUE
If the operation was successful, mdraw_text() returns 0. If an error is detected, it returns -1 and assigns an error code to the
external variable merror_code.
ERRORS
MERROR_RANGE
SEE ALSO
mdraw_image_text()
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdraw_text(3m17n)