How to print a dataset in mainframe?

JES2/3, JCL, utilities.
Post Reply
Shuku
Registered Member
Posts: 23
Joined: Sun Jul 21, 2013 4:55 am

How to print a dataset in mainframe?

Post by Shuku »

Hi,

How can we print a dataset to the printer? If someone can guide me to a JCL for it, please direct me or give me a JCL to do so.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to print a dataset in mainframe?

Post by Robert Sample »

Use IEBGENER or IDCAMS with the source being the data set to be printed, and the target is a DD name with SYSOUT=* (or whatever SYSOUT class on your site is used for printing -- often A or P).
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”