Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Multiple MAXL in serial from batch

MikkisOct 22 2019 — edited Oct 22 2019

Hi,

Not sure if this is possible, is there a way we can run multiple maxl (Calc script/data export/data load) run in series from a single batch file.

For example, I have script that runs aggregations that need to be executed first. Then I need to export that aggregated data using report script. Finally reload that data back to Cube.

I want all these to happen in order and wait for prior process to finish. And I can't change the process.

Forgot to mention that there are other processes in between like running a SQL procedure/statements. Running MAXLs in series is not a problem, but having the non-MAXL processes in sequence is what we need to achieve

Thanks in advance,

PM

Comments

darrylburke
Moderator action: Moved from Java Programming.

db
darrylburke
You add the <tt>KeyListener</tt> to the <tt>Applet</tt>, so why do you expect to get <tt>KeyEvent</tt>s in the <tt>Canvas</tt>?

Do you have a reason for using an <tt>Applet</tt> (AWT) and not a <tt>JApplet</tt> (Swing)? With a Swing <tt>JApplet</tt> and a <tt>JPanel</tt>, you get double buffering for free and you can use Key Bindings.

db
801176
Uhh thanks!

I want they Key event s in the Applet. But I don't get them.:S

EDIT:

I found the solution, if someone have the same problem:
KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(new KeyEventDispatcher() {

            public boolean dispatchKeyEvent(KeyEvent e) { // This example converts all typed keys to upper case
                if (e.getID() == KeyEvent.KEY_TYPED) {
                    e.setKeyChar(Character.toUpperCase(e.getKeyChar()));
                } // If the key should not be dispatched to the
                // focused component, set discardEvent to true
                System.out.println(e.getKeyChar());
                boolean discardEvent = false;
                return discardEvent;
            }
        });
Edited by: Teh Heavenly on 2010.10.05. 12:43
801176
Took me 3 hours googling, but finally...
1 - 4