AVAYA PDS User Group Bulletin Board Post New Topic  Post A Reply
my profile | directory login | register | search | faq | forum home

  next oldest topic   next newest topic
» AVAYA PDS User Group Bulletin Board » General » PDS 3.0 Running campaigns from command line

   
Author Topic: PDS 3.0 Running campaigns from command line
Robert I.
Member
Member # 2465

Icon 1 posted      Profile for Robert I.   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Hello,

I am trying to solve following task: fully automatic work of PDS.

1. I am downloading from FTP to Avaya PDS calling files, then I put them to Avaya via hosttopds.
2. Then I go to Editor and run Sellections. After running sellection, job using this selection is ready to start.
3. After job finishes, automatically reports are generated via pdstohost, then I put them on FTP resource.

How to make #2 automatic? Is there a command in command line that will verify and run a selection? After that I suppose I could start a job with config_ed?

Thanks
Robert

From: Moscow | Registered: Oct 2009  |  IP: Logged | Report this post to a Moderator
Alex
Member
Member # 1171

Icon 1 posted      Profile for Alex     Send New Private Message       Edit/Delete Post   Reply With Quote 
Hi, Robert.

You can use callsel binary or another way to install service pack 1 (at least) and use auto_start job (it run's selection and also run job)

From: Moscow | Registered: Jun 2008  |  IP: Logged | Report this post to a Moderator
stephen Vieau
Member
Member # 1332

Icon 1 posted      Profile for stephen Vieau   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
#! /bin/ksh
. $SHELL_ENVFILE
# ----------------------------------------------------------------------------
# Created By Stephen Vieau
# 06/28/2009
clear
print "\n\nStarting record selection"
echo
echo " Do you want to proceed (Y/N)?"
read answer
if test "$answer" != "Y" -a "$answer" != "y";
then exit 0;
fi
clear

#Starting Record Selection for Customer
callsel -l list15 -s jobname -b
callsel -l list14 -s jobname -b
callsel -l list7 -s jobname -b
callsel -l list8 -s jobname -b
callsel -l list101 -s jobname -b
callsel -l list102 -s jobname -b

clear
print "Record selection complete, All hail Stephen, press enter key to agree."
read anykey5
clear

#Starting Job for customer
print "\n\nStarting Jobs,"
echo
echo " Do you want to proceed (Y/N)?"
read answer
if test "$answer" != "Y" -a "$answer" != "y";
then exit 0;
fi
clear
config_ed outbound jobname -b
config_ed outbound jobname -b
config_ed outbound jobname -b
config_ed outbound jobname -b
config_ed outbound jobname -b
config_ed outbound jobname -b
print "all done, hit enter to continue"
read answer

--------------------
South West Business Corp - I am the Corba commander.

From: san antonio | Registered: Apr 2009  |  IP: Logged | Report this post to a Moderator
Robert I.
Member
Member # 2465

Icon 1 posted      Profile for Robert I.   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Sweet script [Smile]

Anyway, indeed I made it work with callsel and then config_ed

We don't have service pack, at the moment I am investigating Avaya status here [Smile] Thanks guys.

From: Moscow | Registered: Oct 2009  |  IP: Logged | Report this post to a Moderator
stephen Vieau
Member
Member # 1332

Icon 1 posted      Profile for stephen Vieau   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Thanks, it should get you started.

--------------------
South West Business Corp - I am the Corba commander.

From: san antonio | Registered: Apr 2009  |  IP: Logged | Report this post to a Moderator
Robert I.
Member
Member # 2465

Icon 1 posted      Profile for Robert I.   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
I only added logging:

hosttopds list2 | tee /opt/avaya/pds/xfer/public/public/logs/"`date +%Y%m%d_%H_%
M_%S`_list2".log

and here:
callsel -l pc1-list2 -s selection_2 -x | tee /opt/avaya/pds/xfer/public/public/logs/"`date +%Y%m%d_%H_%M_%S`_callsell2".log

Everyone is happy with it [Big Grin]

From: Moscow | Registered: Oct 2009  |  IP: Logged | Report this post to a Moderator
   

Reply
Message:

HTML is enabled.
UBB Code™ is enabled.

Instant Graemlins
   


Post New Topic  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | AVAYA PDS User Group Home Page

Copyright © 2009, MUG Enterprise LLC - All Rights Reserved

Powered by Infopop Corporation
UBB.classic™ 6.7.2