This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C23221.31D753A0
Content-Type: text/plain;
charset="iso-8859-1"
Sherry,
I use the following MPEX command file for compiling sets of Quick screens.
The compile listing is sent to a temporary file which has the same name as
the source with a suffix of L (for listing) if the program contains any
errors. I should be easy for you to tailor it to work with QTP and QUIZ.
NOTE: Suggest that you use the UDC's supplied with PowerHouse instead of
invoking the program's directly as they set up variables and file equations
that you need.
parm fset
# COMPQK - Generic Compiler for PowerHouse Quick Screens.
repeat
echo -----Compiling !mpexcurrentfile
setvar compqk_list lft(word('!mpexcurrentfile','.'),7) + 'L'
echo use !mpexcurrentfile > qdescmd
echo exit >> qdescmd
errclear
setjcw cjcw,0
continue
qdesign > !compqk_list < qdescmd
if cjcw <> 0 then
echo ![chr(27)+'&dC']Contains errors![chr(27)+'&d@']-- See temporary
file !compqk_list for details.
else
purge !compqk_list,temp > $null
endif
forfiles !fset
deletevar compqk_@
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
-----Original Message-----
From: Jonathan M. Backus [mailto:JMBackus@TechGroupMD.com]
Sent: 22 July 2002 21:22
To: Sherry_Baillie@gov.nt.ca; powerh-l@lists.swau.edu
Subject: RE: MPEX command file stdlist
Sherry,
Have you tried causing this to kick off a batch job instead of doing
it
interactively?
!job session,user.acct
!run main.pub.vesoft
repeat
echo compiling !mpexcurrentfile
run qtp.ph729c8.cognos;input="set nolist noverify"; &
input = "use !mpexcurrentfile"; &
input = "exit"
forfiles pla@.source
exit
!eoj
You could also add a "TELL" or "TELLOP" line so you are get informed
of the
progress without checking, if you wanted.
Thanx,
Jon
-----Original Message-----
From: powerh-l-admin@cube.swau.edu [mailto:powerh-l-admin@cube.swau.edu]
On Behalf Of Sherry_Baillie@gov.nt.ca
Sent: Monday, July 22, 2002 1:11 PM
To: powerh-l@lists.swau.edu
Subject: MPEX command file stdlist
The following MPEX command file performs a global recompile of my qtp files.
The problem is I want the output to go to a standard list rather than to
screen.
I've tried a number of options but can seem to get it to work.
Can anyone point me in the right direction.
Thanks! - Sherry
repeat
echo compiling !mpexcurrentfile
!run qtp.ph729c8.cognos;input="set nolist noverify"; &
input = "use !mpexcurrentfile"; &
input = "exit"
forfiles pla@.source
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
------_=_NextPart_001_01C23221.31D753A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
RE: MPEX command file stdlist
Sherry,
I use the following MPEX command file for compiling =
sets of Quick screens. The compile listing is sent to a temporary file =
which has the same name as the source with a suffix of L (for listing) =
if the program contains any errors. I should be easy for you to tailor =
it to work with QTP and QUIZ.
NOTE: Suggest that you use the UDC's supplied with =
PowerHouse instead of invoking the program's directly as they set up =
variables and file equations that you need.
parm fset
# COMPQK - Generic Compiler for PowerHouse Quick =
Screens.
repeat
echo -----Compiling !mpexcurrentfile
setvar compqk_list =
lft(word('!mpexcurrentfile','.'),7) + 'L'
echo use !mpexcurrentfile > qdescmd
echo exit >> qdescmd
errclear
setjcw cjcw,0
continue
qdesign > !compqk_list < qdescmd
if cjcw <> 0 then
echo ![chr(27)+'&dC']Contains =
errors![chr(27)+'&d@']-- See temporary file !compqk_list for =
details.
else
purge !compqk_list,temp > =
$null
endif
forfiles !fset
deletevar compqk_@
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
-----Original Message-----
From: Jonathan M. Backus [mailto:JMBackus@TechGroupMD.com=
]
Sent: 22 July 2002 21:22
To: Sherry_Baillie@gov.nt.ca; =
powerh-l@lists.swau.edu
Subject: RE: MPEX command file stdlist
Sherry,
Have you =
tried causing this to kick off a batch job instead of doing it
interactively?
!job session,user.acct
!run main.pub.vesoft
repeat
echo compiling !mpexcurrentfile
run qtp.ph729c8.cognos;input=3D"set nolist =
noverify"; &
input =3D "use !mpexcurrentfile"; =
&
input =3D "exit"
forfiles pla@.source
exit
!eoj
You could =
also add a "TELL" or "TELLOP" line so you are get =
informed of the
progress without checking, if you wanted.
Thanx,
Jon
-----Original Message-----
From: powerh-l-admin@cube.swau.edu [mailto:powerh-l-admin@cube.=
swau.edu]
On Behalf Of Sherry_Baillie@gov.nt.ca
Sent: Monday, July 22, 2002 1:11 =
PM
To: =
powerh-l@lists.swau.edu
Subject: =
MPEX command file stdlist
The following MPEX command file performs a global =
recompile of my qtp files.
The problem is I want the output to go to a standard =
list rather than to
screen.
I've tried a number of options but can seem to get it =
to work.
Can anyone point me in the right direction.
Thanks! - Sherry
repeat
echo compiling !mpexcurrentfile
!run qtp.ph729c8.cognos;input=3D"set nolist =
noverify"; &
input =3D "use !mpexcurrentfile"; =
&
input =3D "exit"
forfiles pla@.source
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to =
powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body =
to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you =
must be a subscriber.
------_=_NextPart_001_01C23221.31D753A0--