MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Export QMF report in batch mode HTML format

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
info_seeker
Beginner


Joined: 31 Jan 2005
Posts: 27
Topics: 9

PostPosted: Thu Oct 22, 2009 10:27 am    Post subject: Export QMF report in batch mode HTML format Reply with quote

Hello...

I have a requirement to export QMF report through a batch job in HTML format for mutiple tables into a single dataset. Can somebody help!!!

Here is what I did..
RUN QUERY ABC1
EXPORT REPORT (DATAFORMAT HTML) (FORM=ABC1
RUN QUERY ABC2
EXPORT REPORT (DATAFORMAT HTML) (FORM=ABC2

This gave me error saying "Export command incomplete". I was tryoing to find a way similar to how we can print mutiple reports and send everything one DSN provided in the DD DSQPRINT. Help much appreciated!!!
Back to top
View user's profile Send private message
jim haire
Beginner


Joined: 30 Dec 2002
Posts: 140
Topics: 40

PostPosted: Thu Oct 22, 2009 12:52 pm    Post subject: Reply with quote

I'm not sure if this will work or not. Try the following:

RUN QUERY ABC1 (FORM=ABC1
EXPORT REPORT (DATAFORMAT HTML
PRINT REPORT

RUN QUERY ABC2 (FORM=ABC2
EXPORT REPORT (DATAFORMAT HTML
PRINT REPORT

I believe your query and form wil need to have different names. The
"PRINT REPORT" will write the report to the dataset which is allocated to DSQPRINT.
Back to top
View user's profile Send private message
info_seeker
Beginner


Joined: 31 Jan 2005
Posts: 27
Topics: 9

PostPosted: Thu Oct 22, 2009 1:08 pm    Post subject: Reply with quote

It didn't work..
MESSAGE NUMBER: DSQ22153
MESSAGE TEXT:
The EXPORT command is incomplete.
&C1: EXPORT
&C2: REPORT Sad
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Oct 22, 2009 2:27 pm    Post subject: Reply with quote

I have always used EXPORT REPORT AS dsn (......
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
info_seeker
Beginner


Joined: 31 Jan 2005
Posts: 27
Topics: 9

PostPosted: Thu Oct 22, 2009 4:36 pm    Post subject: Reply with quote

That didn't work... bonk
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Oct 22, 2009 4:53 pm    Post subject: Reply with quote

well gee, info_seeker,

it seems that you will have to seek the info yourself,
unless of course you have no deadline for this task
and wait until someone bothers to look up the answer in the manual
and gives it to you.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
info_seeker
Beginner


Joined: 31 Jan 2005
Posts: 27
Topics: 9

PostPosted: Fri Oct 23, 2009 10:07 am    Post subject: Reply with quote

dbzTHEdinosauer..

I should have been more specific in my reply... I tried your suggestion... But that returned error message "You cannot export a REPORT object from the database."

So I looked into manual to check the syntax. Manual doesn't even mention
Quote:

EXPORT REPORT AS

....... , leaving the only option EXPORT REPORT TO DSN (.....
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Fri Oct 23, 2009 10:36 am    Post subject: Reply with quote

or EXPORT FORM AS dsn.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
jim haire
Beginner


Joined: 30 Dec 2002
Posts: 140
Topics: 40

PostPosted: Fri Oct 23, 2009 12:41 pm    Post subject: Reply with quote

Try EXPORT REPORT TO name (dataformat=HTML

The report will be put in a dataset called userid.name.REPORT .

Another option is to enter

EXPORT REPORT TO 'dataset name' (DATFORAMT=HTML
Back to top
View user's profile Send private message
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Sun Feb 07, 2010 8:15 am    Post subject: Reply with quote

hi,
Try this .. It will work in batch mode..

Code:

EXPORT REPORT TO 'YOUR.DATASET.NAME'(DATAFORMAT=HTML,CONFIRM=NO


Thanks,
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon Feb 08, 2010 12:07 am    Post subject: Reply with quote

batu, I think it was answered last year.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Mon Feb 08, 2010 12:38 am    Post subject: Reply with quote

Oh !!!.. sorry .. while replying. I have not noticed the last reply date..just now I saw its "Fri Oct 23, 2009" ..

I replied a really old thread.. bonk
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group