Displaying Reports on a screen, Scheduling - in AXIANT 4GL

Joe Boyle atla38 at dsl.pipex.com
Mon Jul 25 06:10:11 CDT 2005


Hi Syed,


Try syntax like - run command "cmd /c c:\phwork\rndmlotts_20030719_1035.txt"
- this should default to using notepad due to the .txt file extension.

As for batch jobs try - run command "cmd /c c:\phwork\rndmlotts.cmd" where
file c:\phwork\rndmlotts.cmd" contains stuff like that below, 

@echo off
set myvar=

set /p MYVAR=del subfile ? (Y or y)
    if "%MYVAR%" == "Y" (
        del .\srt_euros_by_rndm_by_date.sf*
        del .\srt_euros_by_rndm_by_date_x.sf*
        goto nxt                )
    if "%MYVAR%" == "y" (
        del .\srt_euros_by_rndm_by_date.sf*
        del .\srt_euros_by_rndm_by_date_x.sf*
                        )
:nxt

qtp subdict=search auto=srt_euros_by_rndm_by_date.qtc
quiz subdict=search auto=do_srt_euros_by_rndm_by_date.qzs
dir rndmeuros_2005*.txt/od
copy srt_euros_by_rndm_by_date.sf srt_euros_by_rndm_by_date_x.sf /y
copy srt_euros_by_rndm_by_date.sfd srt_euros_by_rndm_by_date_x.sfd /y

Look up the cmd command to find more options.

To run ghost screens you can code stuff like that below in your 

@echo off
title lottery_menu
"C:\Program Files\Cognos\Axiant 4GL 3.4\AxClient32.exe"
C:\phwork\lottery\batch_test\axds\lotts_ghost.axd
rem pause

To run jobs at specified times use the at command or the schtasks command or
the scheduler service.

As always, to learn more, play around with different options. Type help in a
dos window to see some of the dos commands available.

Regards, Joe.


-----Original Message-----
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Syed Shahul Hameed Mustaffa
Sent: 25 July 2005 11:38
To: powerh-l at lists.sowder.com
Subject: Displaying Reports on a screen, Scheduling - in AXIANT 4GL

Hi Gurus,

Simple Introduction: I'm migrating an PH/MPEIX application to AXIANT
4GL (Thin Client)/WINDOWS.

I have 2 functionalities in PH / MPEIX that doesn't seem to have an
equivalent in AXIANT 4GL. (Thin Client).

1. Displaying the reports on the screen. I sent the output to a text
file and tried to open it using notepad.exe through 'run command'. The
system appears to be hanging.

2. In MPE/IX the reports and qtps are streamed as scheduled jobs. How
can we achieve this streaming in a windows environment.

I'd appreciate any attempt to help solve these issues.

Best Regards,
SYED

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.



More information about the powerh-l mailing list