Parameter aus eine *.bat Datei in MAXL Script
HAllo,
wie kann ich Paramert die ich in einer BAT Datei abfrage an ein MaxL Script übergeben? Wie z.b. Servername, Userid Password ....
Hallo,
In dem du Variablen in dem MAXL Script benutzt.
z.B.
export database $1.$2 all data to data_file $3;
Exportiert die Datenbank $2 der Applikation $1 in die Datei $3.
Dieses MAXL Script wird via essmsh aufgerufen und dort werden dann die Parameter in dieser Reihenfolge übergeben. Sie stehen hinter dem MAXL-Script.
z.B.
start essmsh.exe -s Server -l User Password MAXL-Script Applikation Datenbank 'Dateiname'
Es kann auch ain vollständiger Pfad angegeben werden, essbase braucht dann natürlich Schreibrechte dort, wird eine Netzwerkfreigabe verwendent so sind 3 Blackslash am Anfang notwendig, warum weiss ich auch nicht aber es funktioniert.
Hoffe mal das das weiterhilft
Similar Messages
-
Ich kann eine InDesign-Datei nicht öffnen (wurde vorher aus zip entpackt)?!
Ich habe das Problem, dass ich eine InDesign-Datei nach entpacken aus einer zip Datei nicht öffnen kann. Es erscheint folgende Meldung:
Please uninstall and reinstall the product.
If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.
Error: 11
Ich habe InDesignCC auf Mac, kann mir da jemand helfen?Klingt so, als ob die Datei irgendwelche Referenzen zu spezifischen Plugins enthält, die eben auf deinem System nicht vorhanden sind... Müßte man genauer wissen...
Mylenium -
Automatische Übernahme von Daten aus einer txt oder xls-Datei in ein pdf Formular
Hallo zusammen,
ich würde gerne automatisch Daten aus einer txt-Datei oder einer xls-Datei in ein pdf Formular übernehmen (z.B. Namen, Geburtsdatum).
Die Daten sollen in Zeugnisformulare einer Schule übernommen werden, so dass alle Lehrerinnen und Lehrer diese Daten nicht mehr manuell eingeben müssen. Das Schulstatistik Programm exportiert die Schülerdaten eben in eine txt oder xls-Datei.
Wie ist das möglich und wie muss ich hierfür die Einstellungen bei den Formularfeldern wählren?
Vielen Dank für eure Antwort!Füll doch ein Formular aus, exportier die Daten als XFDF.
Lies aus, wie das formatiert sein muss.
Formatiere Deine Daten ebenso.
Importiere dann diese Daten. -
Aus einer HTML/PHP Datei eine PDF erstellen
Hallo Zusammen,
ich möchte aus einer im Browser angezeigten html/php-Website eine pdf erstellen!
wie möchte ich das!
1. Ich habe eine HTML/PHP-Seite
2. Ich habe auf dieser Seite einen Button.
3. Ich möchte nun, sobald ich den Button betätige aus der angezeigten HTML/PHP-Seite eine PDF-Datei erzeugen.
4. Mit FPDF und HTML2pdf habe ich es bereits versucht, bin aber zu keinen erfolgsversprechenden Ergebnis gekommen. (Vielleicht hat jemand ein funktionierendes Beispiel !!!!!!!!!!)
5. Meine Frage: Gibt es bei ADOBE eine EXTENSION ????
6. Ich setze DREAMWEAVER CC auf einem Windows-Rechner ein.
Vielen Dank im voraus.
U. StorsbergHallo Zusammen,
vielen Dank für Eure anworten.
Vielleicht habe ich mich falsch ausgedrückt.
Ich möchte nichts anderes als das was diese Seite auch kann.
Hier auf dieser Seite gibt es eine "ACTION" (rechts oben); darunter steht "VIEW AS PDF".
Genau so etwas brauche ich.
Wie funktioniert das?
Vielen Dank für Eure Antworten
Gruß
Ekiam -
Wie kann ich eine .doc Datei aus einer Email auf ipad2 Laden?
Ich habe eine Email erhalten, in der eine .doc Datei enthalten ist. Wie kann ich diese Laden um die Datei zu lesen?
I struggle with English, never mind German! If I interpret your query correctly you are asking how you open/save an email attachmnt created in MS Word. You need a compatible app such as Pages or Documents to Go. You can, as you will have discovered, read the attachment but do nothing else with it. Do not delete the email meanwhile.
Kindly confirm that we are on the right track and someone will help you further. -
Auto-kick off MaxL script after Oracle GL data load?
Hi guys, this question will involve 2 different modules: Hyperion and Oracle GL.
My client has their accounting department updating Oracle GL on a daily basis. My end-user client would like to write a script to automatically kick off the existing MaxL script which is for our daily data load in Hyperion. Currently, the MaxL script is manually executed.
What's the best approach to build a connection for both modules to communicate with each other? Can we use a timer to trigger the run? If so, how?#1 External scheduler.
I've worked on Appworx and it has build a chain dependent task. There are many other external schedulers like Tivoli,....
#2 As Daniel pointed out you can use Windows scheduler.
For every successful GL load add a file to a folder which is accessible for your Essbase task.
COPY Nul C:\Hyperion\Scripts\Trigger\GL_Load_Finished.txt
Create another bat file which is scheduled to run on every 5 or 10 mins (this should start just after your GL Load scheduled task)
This is an example i've for a triggered Essbase job.
IF EXIST %BASE_DIR%\Trigger\Full_Build_Started.txt (
Echo "Full Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Custom_Build_Started.txt (
Echo "Custom Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Post_Build_Batch_Started.txt (
Echo "Post Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Full_Build.txt (
Echo "Trigger found starting batch"
MOVE %BASE_DIR%\Trigger\Start_Batch.txt %BASE_DIR%\Trigger\Full_Build_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Build_All_Cubes.bat
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Custom_Build.txt (
Echo "Trigger found starting Custom batch"
MOVE %BASE_DIR%\Trigger\Start_Custom_Batch.txt %BASE_DIR%\Trigger\Custom_Build_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Build_All_Cubes_Custom.bat
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Post_Build_Batch.txt (
Echo "Trigger found starting Post Build batch"
MOVE %BASE_DIR%\Trigger\Start_Post_Build_Batch.txt %BASE_DIR%\Trigger\Post_Build_Batch_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Post_Build_All_Cubes.bat
)So this bat file if it finds Start_Full_Build.txt in the trigger location, it'll rename that to Full_Build_Started.txt and will call the Full Build (likewise for custom and post build)
Regards
Celvin
http://www.orahyplabs.com -
Hi,
In the tech ref, "It is not necessary to exit at the end of MaxL script files or stream-oriented input (using the -i switch)". How is this done?
I want to run a DOS batch after the Maxl script is done.
Thanks.Nevermind I figured it out. I changed the .bat command to follow.
-
Cahnge the date dynamically in Maxl script
Hi All,
I am excuting one max for clearing the data for particuler cells it s ok
It will work for 9th month but next month it will not work until i dont change the value manually
Dynamically i need to change
alter database 'ACCOUNT'.'account' clear data in region '{([2010.09],[Actual])}' physical;
how can i do this , any help would be appriciated..I think he wants to avoid updating anything manually though?
you should be able to:
a. Build the date/string in a batch file.
b. pass that date/string to the maxl script as a paramter
c. use the parameter in your alter database script
I have also seen people rebuild the entire maxl script each month from a skeleton in another text file or a database but thats probably over complicating.
You could also use that variable to update a substitution variable -
Maxl Script running Issue in Essbase 11.1.2.2
Hi All,
We have a Maxl Script which takes Level 0 Backup of the Database. We have migrated the apps to the new server 11.1.2.2 and this script is not running in the new server but it works fine in the Old Server.We have the code like this in the script
REM $1 = USERNAME
REM $2 = PASSWORD
REM $3 = servername
REM $4 = BSOAppName = RPSBSO
REM $5 = BSODB_Name = RPSBSOD
REM $6 = ASOAppName = RPSASO
REM $7 = ASODB_Name = RPSASOD
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
When i run the .bat script an Fatal Error is shown under the above line saying
MSH Fatal Error: Error Initializing localization module.
I have changed all the path locations,server names etc according to the new environment in the script but the script is displaying error like above. Can any one help me on this.
Regards,
Naveen972698 wrote:
Hi John Thanks for your post.
I would like to give some more information like this is the script named BU_BSO_2.bat which is used for taking backup of individual application RPSBSO, and it calls Backup_BSO.msh script which is internally called in BU_SO_2.bat file as given below the command. What we do is we just run this BU_BSO_2.bat batch file where it executes everything and places the backup in given path in the script. But actually its giving error in executing only the given below line
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
Error shown : MSH Fatal Error: Error Initializing localization module
And i went through your doc but they are the server specific paths which we are not using in this script and this script runs fine in 11.1.1.
Let me know if i can provide any more information.
Regards,
Naveen
Try updating
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
to
startMaxl.bat C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
If the location of startMaxl is not in the windows path variable you will need to either update the path variable or put the path in the script e.g.
C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat
or C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMaxl.cmd
Alternatively edit startMaxl and take the variable information out of it and put it in your script then you will be able to use essmsh.
Cheers
John
http://john-goodwin.blogspot.com/ -
Wildcard in MaxL Script??
Can you use a wildcard in a MaxL script to find a file in a specific location?
Example>>
import database app.database data
from local text data_file 'C:\HyperionDataFiles\dataload*.dat'
using rules_file 'C:\hyperion\AnalyticServices\app\app\database\dataload.rul'
to load_buffer with buffer_id 15
on error write to 'C:\hyperionerrors\dataload.err';
In would this find any file with the dataload name?? Ie dataload_today.dat??You don't mention the operating system, but I would create a single maxl statement to load a file as it's own script. In the script, I would use a variable to represent the file name. Then in the calling batch or shell script, I would find the actual file name and pass it as a parameter to the script. If there are multiple files that match the criteria, I would loop through each file and pass it. (of course, after I was done, I would move the files to a histroy folder so I didn't process them again.
-
Ich muss eine indesign Datei als Word-Datei umwandeln
Allerdings gehen Formatierungen wie Kapiälchen oder Sperrungen im Text verloren.
Ich habe zunächst aus meiner Indesign Datei ein PDF erstellt und dann in Acrobat XI als Word gespeichert. Gibt es da Tricks oder Tipps die man beachten muss, damit das Word-Dokument 1:1 wie meine PDF bzw. .indd aussieht?Da bin ich voll und ganz deiner Meinung. Nun ist es aber so, dass der Kunde unbedingt eine Worddatei möchte basierend auf einem Indesign-Layout. Im Alltag kommen diese Dinge eben vor.
Mag schon sein, aber das ändert an den technischen Grundlagen nix - es wird nie 1:1 rüberkommen und das muss man ganz knallhart dem KLunden sagen bzw. hätte man schon bei der ersten Projektbesprechung klarstellen müssen. Selbst zwischen verschiedenen Office-Versiosnn gibt es ja schon signifikante Unterschiede bei der Schriftdarstellung, also wird das so oder so ein heilloses Kuddelmuddel.
Mylenium -
MAXL Script Feasibility....
Hi All,
Am aiming to load the data into Essbase Cube using CSV Files through IMPORT command in Maxl using 4 Different CSV Files.
I can do it this way..
1) we can have four statements of IMPORT cmd for Four files in one maxl script and it is ok
Now my question here is, can we introduce any loops/conditions in Maxl for selecting the four files within loop for only one IMPORT cmd..The advantage am looking at is if any new file come into picture i need not modify anything related to statement.
Viz., CSVLOAD_2005, CSVLOAD_2006...are CSV Files
and i want to take CSVLOAD* and take it in the statement
Hope you understand the logic
ThanksHere's the Tech Ref entry: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/utils/shell/syntax.htm#positional
Positional parameters are command line params, they are referenced by $1, $2, $3, etc., with $1 = the first command line parameter, $2 = the second, etc.
I use them all the time; they are quite handy.
In your example, you might have four lines (or in a scripting language, an array/collection of values that get looped) with the data files you want to pass into MaxL, e.g.:
essmsh maxlscriptname.msh CSVLOAD_2005
essmsh maxlscriptname.msh CSVLOAD_2006
etc.
In your MaxL script, you can simply use:
import database app.db data from local data_file $1 using rulename on error write to errorfilename ;
If you wanted to get fancy and pipe any data errors to different files you could create a second positional parameter and use that in place of the error file name.
Regards,
Cameron Lackpour -
Hallo ich muss eine Indesign-Datei als JPEG für Web speichern (800x600px). Wie stelle ich das am Besten an? "Normal" über Exportieren - JPEG? Aber wo kann ich da die Pixel (800x600px) einstellen?
Freu mich über jeden Tipp!Da gibt's nix einzustellen. Dein Dokument hat ja schon eine Größe und eine DPI-Zahl aus der sich die Pixeldimensioenn bombenfest ergeben. Alles weitere muss im Photoshop gemacht werden.
Mylenium -
Mit welchem Programm kann ich eine wlt Datei öffnen?
Mit welchem Programm kann ich eine wlt Datei öffnen?
Hallo,
es ist, wie geschrieben, eine Datei mit Endung .wlt. Es soll eine Folge/Sequenz von Standbildern aus dem Video-Mitschnitt einer Überwachungskamera sein. Windows verwendet den processviewer, aber beim MAC geht weder VLC noch iMovie noch PhototshopPremiere..... -
Ich möchte aus einer eigenen Application heraus FDF-Dateien
erstellen. Dazu habe ich mir ein PDF-Formular erstellt und eine
FDF-Datei als Beispiel erzeugt. Wenn ich jetzt den Inhalt dieser
FDF-Datei (z.B. die Feldinhalte) verändere, dann kann
Acrobat diese Datei nicht mehr öffnen:
File is damaged and could not be repaired.
Was kann ich tun ? Gibt es irgendwo eine Doku darüber, wie
man FDF-Dateien erstellen muß ?Mit Hilfe eines HEX-Dumps vor und nach dem Editieren der
FDF-Datei habe ich das Problem gefunden. Ich hatte mit
dem alten DOS-Editor in der DOS-Box gearbeitet und der
ändert noch ein paar Zeichen zusätzlich.
Ich habe jetzt mit WordPad die FDF-Datei editiert, damit
funktioniert es.
Aber trotzdem nochmal meine Frage nach einer Doku.
Hat irgendwer schon mal eine Doku im WEB gefunden, wo
beschrieben ist, wie eine FDF-Datei auszusehen hat ?
Frank Weichert
Maybe you are looking for
-
Where did the iTunes Store Wishlist go?
What happened to the wishlist? It was in the store, a link on the right hand side of the homepage not long ago. You can also still click the button in the down arrow next to the buy button for songs to "Add to Wishlist." Message was edited by: KataMa
-
Why could not get parameters in servlet
Hi, all, I am implementing a PDF file download function for a web site. When the user's browser is IE, a strange problem will come up. Click the download button, the pdf file is opened in a new window of browser. Do not close the new window, click th
-
Why can't I open/see PDF files that are embedded in an email or sent through the internet?
I can read/see PDF files that are attached to an email, but I can't see/read them if they are embedded in an email or sent through the internet.
-
Column calculations getting wrong will exporting report to excel
Hi Experts, we have a report on obiee 11.1.1.5.0 with following details we have report with columns destination region,service , origin country and revenue and report is created as follows Destination Region Asia NorthAmerica Total(using selection st
-
X61 Hang when not using AC adapter
X61 will hang (on the login page, sometimes when using the laptop halfway), when not using AC adapter.I've format the system, install drivers (system update) and application. anyone encounter this issue?