The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Accessing variables of one shell script in another shell script rsendhilmani Shell Programming and Scripting 2 03-17-2009 01:17 AM
Integrate PeopleSoft CRM with Oracle E-Business Suite Using BPEL iBot Oracle Updates (RSS) 0 04-06-2008 05:10 AM
How to pass a parameter from one Shell-script to another Shell-script subodhbansal Shell Programming and Scripting 2 09-22-2007 05:19 AM
How to Run a shell script from Perl script in Parent shell? hifake Shell Programming and Scripting 16 08-28-2007 08:42 PM
Have a shell script call another shell script and exit heprox Shell Programming and Scripting 2 11-20-2006 08:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2008
PiyushC PiyushC is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 2
Shell Script for Peoplesoft AE run

Hi,

Need urgent help.

I need to run a Peoplesoft(PS) Application Engine(AE) process using Unix shell script.

The command line for running PS AE process is

psae -CS Server_name -CT Database_TYPE -CD Database_Name -R Run_Cntl_Name -AI AE_JOB_NAME

Kindly post the shell script code provided Server_name, Database_TYPE, Database_Name ,Run_Cntl_Name ,AE_JOB_NAME are arguments to be passed to it.

Thanks in advance.

Regards,
Piyush.
  #2 (permalink)  
Old 02-20-2008
kanu_kanu kanu_kanu is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 15
==================== psae.run ===================
#! /bin/ksh
Server_name=$1
Database_TYPE=$2
Database_Name=$3
Run_Cntl_Name=$4
AE_JOB_NAME=$5

psae -CS $1 -CT $2 -CD $3 -R $4 -AI $5

if [ $? -ne 0 ]
then
echo "Process Aborted"
exit 1
fi
================================================
this is ur script psae.run You can execute this script by passing 5 arguments.
like , psae.run <Server> <DB Type> <Db Name> <Run_Ctl> <AE_Job>
  #3 (permalink)  
Old 02-21-2008
PiyushC PiyushC is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 2
Shell Script for Peoplesoft AE run

Hi Kanu,

thanks for the help.

As I am new to Unix shell scripting , so please help me with following:

Have one script which has a line

. ${EPM_SCHED_BIN}/.schdparams.${GROUP}

Anyone help as to what can i interpret from this or how to read this ???

Regards,
Piyush.
  #4 (permalink)  
Old 02-21-2008
manikantants manikantants is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 131
. ${EPM_SCHED_BIN}/.schdparams.${GROUP}

This is a how we are sourcing a file to current shell.
run following command from command prompt
echo ${EPM_SCHED_BIN}/.schdparams.${GROUP}
This will be a filename with its absolute path which need to be sourced.

By sourcing a file, all the variables declared inside that file will be available to the current shell which you are working
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0