Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to print EZT to not sysprint?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Jigar Patel

New User


Joined: 21 Apr 2008
Posts: 2
Location: India

PostPosted: Mon Apr 21, 2008 4:52 pm    Post subject:
Reply with quote

Hi,

When I am using Print statement with report, the report is appended in SYSPRINT. But, I want it in the Flat file without System messages and standard output.

Anyone has any idea please...

Thanks,
Jigar

email address deleted
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Apr 21, 2008 8:30 pm    Post subject:
Reply with quote

Hello Jigar and welcome to the forums,

When you have a question, it is best to begin a new topic for your question rather than replying to some old topic.

What does your "REPORT" statement look like?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Apr 21, 2008 9:23 pm    Post subject:
Reply with quote

Check the manual....
Quote:
[PRINTER file-name-3]
The optional PRINTER parameter directs the report's printed output. File-name-3 identifies the FILE that receives the report. This file must have the PRINTER attribute specified. The default is the CA-Easytrieve/Plus standard print output file: SYSPRINT for OS/390, SYSLST for VSE.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Apr 22, 2008 6:55 pm    Post subject:
Reply with quote

Jigar Patel wrote:
I have tried as per your suggestion but It's not working. In my EZT I have coded the PRINTER statement as below:

FILE OUTPUT1 PRINTER

Can you guide me lil bit more I think I very near as per your guidance... or can you mail me any sample EZT with its JCL which is generating report in flat file...
One line of code doesn't allow much to explain 'not working'.....
Again, have you checked the manual?
The manuals are copyrighted material, if your shop has EZT, you can get it easily from CA by email....
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 22, 2008 7:19 pm    Post subject:
Reply with quote

Hello Jigar,

If you are actually creating a report, you probably have a REPORT statement in the code.

You need to post that (at least). It would also probably help if you post the jcl for this ezt step.

Hopefully, your next post won't "go away" as the last one did. . .
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Apr 22, 2008 7:32 pm    Post subject:
Reply with quote

Quote:
FILE OUTPUT1 PRINTER


try this instead

FILE PRINTER OUTPUT1
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 23, 2008 1:17 am    Post subject:
Reply with quote

Hello,

Jigar Patel wrote:
Quote:
The Report statement looks as

REPORT EMPRPT LINESIZE 80
LINE 01 EMP-NAME EMP-NO DEPT DOJ EMP-SAL

But when I am using this it is printing the output in SYSPRINT along with other SYSPRINT messages but I want only the report in the separate flat file...
As requested above, please post the jcl for this.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Apr 23, 2008 1:45 am    Post subject:
Reply with quote

Jigar Patel wrote:
REPORT EMPRPT LINESIZE 80
LINE 01 EMP-NAME EMP-NO DEPT DOJ EMP-SAL

Read the fine manual!
REPORT EMPRPT PRINTER file-name-3 LINESIZE 80
LINE 01 EMP-NAME EMP-NO DEPT DOJ EMP-SAL
along with
FILE file-name-3 PRINTER
and
//file-name-3 DD SYSOUT=whatever
Back to top
View user's profile Send private message
lcmontanez

New User


Joined: 19 Jun 2007
Posts: 50
Location: Chicago

PostPosted: Wed Apr 23, 2008 2:39 am    Post subject:
Reply with quote

You may also want the noheading/space options added to the report line.

Read the manual.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Apr 23, 2008 5:27 am    Post subject:
Reply with quote

lcmontanez wrote:
You may also want the noheading/space options added to the report line.
Please inform, how would that help, I fairly new to EZT, and I'd like to know......
Back to top
View user's profile Send private message
Jigar Patel

New User


Joined: 21 Apr 2008
Posts: 2
Location: India

PostPosted: Wed Apr 23, 2008 3:26 pm    Post subject: Reply to: How to print EZT to not sysprint?
Reply with quote

I got the solution I would like to share with you all ppl...

//PRINT001 DD DSN=WXX262.EMPLOYEE.INFO.DATA.REPORT.OUT,
// UNIT=SYSDA,DATACLAS=HUGE,
// RECFM=FB,LRECL=80,DSORG=PS,
// BLKSIZE=0,
// DISP=(NEW,CATLG,DELETE)

//****EASYTRIEVE PROGRAM****
//SYSIN DD *

FILE PRINT001 PRINTER

FILE INPUT1
EMP-NAME 01 10 A
EMP-NO 11 09 A
DEPT 21 10 A
DOJ 31 10 A
EMP-SAL 45 05 A

JOB INPUT INPUT1

PRINT EMPRPT

REPORT EMPRPT LINESIZE 80 PRINTER PRINT001
SEQUENCE EMP-NAME
CONTROL FINAL DEPT NOPRINT

TITLE 01 'EMPLOYEES'
TITLE 02 'EMPLOYEES OF DEPT :' DEPT
LINE 01 EMP-NAME EMP-NO DEPT DOJ EMP-SAL

/* End of EZT Code
//*

In above code PRINT001 is the Flat file.

Let me know if anyone has any other alternative way...

Thanks to everyone and especially CICS Guy...
Back to top
View user's profile Send private message
lcmontanez

New User


Joined: 19 Jun 2007
Posts: 50
Location: Chicago

PostPosted: Wed Apr 23, 2008 7:34 pm    Post subject:
Reply with quote

CICS Guy wrote:
lcmontanez wrote:
You may also want the noheading/space options added to the report line.
Please inform, how would that help, I fairly new to EZT, and I'd like to know......


Maybe I misunderstood the requirements....

You can use the report section to create a file without headings and adjusting the space between colums. The carriage control will still appear
but the file can be used as input into another process. This is almost the same as formating a file layout and using a put statement except that
you have a CC and you don't need need to predefine your columns.

I hope this is clear and help your understanding.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 24, 2008 4:15 am    Post subject: Re: Reply to: How to print EZT to not sysprint?
Reply with quote

Jigar Patel wrote:
I got the solution I would like to share with you all ppl...
.
snip
.
Thanks to everyone
Glad to hear that

Bill, just the CICS Guy.......
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm
No new posts print out the correct info in LOOP? jackzhang75 CLIST & REXX 7 Wed Dec 23, 2015 10:39 pm
No new posts How to print a variable in SAS progra... LOKESH DAIVAM All Other Mainframe Topics 6 Thu Aug 13, 2015 12:24 pm
No new posts How to print out only array member wi... jackzhang75 CLIST & REXX 13 Wed Jun 18, 2014 7:15 pm
No new posts RMDS - Print table using DBNMALST Mark Kerner IBM Tools 2 Thu May 15, 2014 8:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us