View previous topic :: View next topic
|
Author |
Message |
kishpra
New User
Joined: 24 May 2010 Posts: 92 Location: Pune
|
|
|
|
Hi,
I am trying to have the below in the control card which will be executed thru jcl -
SELECT COL1, COL2, COL3 FROM TABLE A WHERE COND
REPORT FORMAT -
-----REPORT HEADER-----
COL1
COL2
COL3
-----REPORT TRAILER-----DATE
Please let me know how should I mwrite a report through control card in jcl after sql query is executed and I don't have access to QMF.
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you use some kind of code to do what you want.
Keep in mind the SQL is not meant to be a reporting tool. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Hi ,
Is COL1,COL2,COL3 are of same datatype & length ?? |
|
Back to top |
|
|
|