Quantcast
Channel: SCN : All Content - SAP Strategy Management
Viewing all articles
Browse latest Browse all 501

Guide for schedule procedure on Pas Admin

$
0
0

Hope this simple guide will help when you want Schedule pas admin load procedures.

 

 

 

Guideto scheduleloading
processes
withinPASAdministrator

 

 

 

 

 

You must createa dedicated userto runtheimplementation timetableproceedings (this isthe recommendation of theofficial manualofSAP), the user must
have administrator permissions(security
level =supervisor)

 

 

image.png
 
 
 
 
 
 
 
 


 

 

 

Forproceduresrun automatically
loads
the current periodonly
to uploaddatato
thecurrentday
ormonth(depending
on
frequency), two lines of code
are used, the first indicatesif the periodis monthly,or diary, etcwith
SETMONTHLYPERIOD,
SET PERIOD DAILY, etc,and the secondtells
you
pull thecurrentmonth ordaywith
SET PERIOD TODAY.

 

 

 

 

 

Thisloading procedurein thesectionwhere
the
KPIis specified andrefreshdimensionsand
the time periodto be loadedand beforethe connection andquery.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

You must create afile (orseveral) with
the instructions to executeduring
loading
/schedulingtoeasethis file
is placed in thehome directorylocationwithin thePAS
AdministratorforMuniguate, the full path andnameof the test filecommand
is:

C:\ ProgramFiles
\
SAPBusinessObjects\StrategyManagement \
ApplicationServer\ home\ejecutarprocedures.batch

Ifnot put it inthis
directory
HOME, at the time of
scheduling
or run the filefrom
the console
, you must pass the full path andnot just the name. This file contains the
script youwantto
schedule
, andhecould putmultiplecalls
cargoprocedures, not just one,
so you could callall proceduresin one file, or create a filefor each procedure.

 

 

 

 

 

The scriptshould
contain
instructionsfor running
proceduresthat would be usedfromthe command lineof
the
PASAdministrator, ie:
USE to selectwhichdatabase/ hubuse
andJOBto
execute a procedure
within thatnature,
but alsothis,before
selecting
the database/cubethe scriptrequires
that
all connections tonature
are killed,this is achieved by:

CONNTOKILL
SUPcube_name

 

 

 

 

 

Theycould performproceduresrunsmultiple
cubes
within a singlefile,
youshouldonly
have aSUPCONN
TOKILLnature
andnatureUSE
EXCfor each cube.



When you finish makingprocedure calls,
indicate the end of thelogand filewith the following lines:

TRACEOFFBOTH

 

 



EXITCLEAR

 

 



proceduresto runanother cube

 

 



CONNTOKILL
SUPCubo2

 

 



USEEXCCubo2

 

 





JOBprocedimiento4

 

 



JOBprocedimiento5

 

 



.......



Stopgeneration...
bitacora

 

 



TRACEOFFBOTH

 

 



Exit andclean...

 

 



EXITCLEAR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Below, you can see the outline
or structureof a file thatexecutes various processeswithinmultiple cubesas follows:

 

 





Generation... Turnthelogandarchivelognaming the

 

 





TRACEBOTH'ejecutarprocedures.txt'; extUPDATE

 

 





Sure...there are no connectionsto the hubtoupdate

 

 



CONNTOKILL
SUPcubo1

 

 



Usethemodel
...inexclusive
mode

 

 



USEEXCcubo1

 

 

 

 

 

 

 

 

Call...proceduresto be executedin the bucket

 

 



JOBprocedure1

 

 



JOBprocedure.2

 

 



JOBproceeding3

 

 



Callmoreprocedures
...

 

 





Perform...steps
similar to
the aboveprocedures
to runanother cube

 

 



CONNTOKILL
SUPCubo2

 

 



USEEXCCubo2

 

 





JOBprocedimiento4

 

 



JOBprocedimiento5

 

 





Stopgeneration...
bitacora

 

 



TRACEOFFBOTH

 

 



Exit andclean...

 

 



EXITCLEAR


Viewing all articles
Browse latest Browse all 501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>