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 write jcl code message send to printer?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
teji4

New User


Joined: 26 Oct 2007
Posts: 9
Location: bangalore

PostPosted: Fri Jan 11, 2008 5:04 pm    Post subject: how to write jcl code message send to printer?
Reply with quote

Hi!

I know how to send the message to spool, but i don't know how to send the message to printer in jcl

Sysprint dd sysout=* ( this is for spool)
what is printer? ??????????

pls Let me know any one.
Back to top
View user's profile Send private message

teji4

New User


Joined: 26 Oct 2007
Posts: 9
Location: bangalore

PostPosted: Fri Jan 11, 2008 5:11 pm    Post subject: What is the next generation of GDG?
Reply with quote

Hi,

Current generation is G9999v00

This is the maximum generation of GDG.

once the maximum geneeration is reached, what is the next generation?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jan 11, 2008 5:16 pm    Post subject: Re: What is the next generation of GDG?
Reply with quote

teji4 wrote:
Hi,

Current generation is G9999v00

This is the maximum generation of GDG.

once the maximum geneeration is reached, what is the next generation?


G0001V00.
Back to top
View user's profile Send private message
teji4

New User


Joined: 26 Oct 2007
Posts: 9
Location: bangalore

PostPosted: Fri Jan 11, 2008 5:47 pm    Post subject:
Reply with quote

Hi Superk,


I Think, It willn't create any generation, will get abend or error.

Is it correct G0001v00?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jan 11, 2008 6:00 pm    Post subject: Reply to: how to write jcl code message send to printer?
Reply with quote

I don't know of any documentation that supports my answer, I only know that was the result I achieved when I tested this scenario once. However, this document from IBM may help explain the situation:

Quote:

As of 9/99, the current processing for GDGs turns the Wrap Bit
on to allow generations from 10,001 to 10,999 to be created.
The wrap bit is then turned off to allow generations 1000 and
above to be created. This is true for all currently supported
releases of DFSMS. This process, however, is NOT GUARANTEED
to always work as expected for absolute generation numbering,
when generation numbers are skipped or for Restart/Recall
processing.

See the "Z" page for internal details of the wrap bit interface.

The Wrap Bit is set when an allocation for a new GDG data
set (+1) is done and the current entry is G9999Vxx. Each entry
subsequent to G9999Vxx will have the Wrap Bit set to preserve
the logical catalog order so that relative generation (+1)
processing will work correctly. In NORMAL SEQUENTIAL operations
new entries will have the Wrap Bit turned on until the first
transaction after G9999Vxx is rolled off occurs.

When the Wrap Bit is set to ON for all cataloged GDSs AND the
highest generation number is 0999 (10,999), the next GDS to be
cataloged causes the Wrap Bit to be turned off for all entries
in the Generation Aging Table (GAT). This allows the GDG to go
beyond the 10,000 point without having to redefine the GDG
and recatalog all of the GDSs.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Jan 11, 2008 6:16 pm    Post subject:
Reply with quote

As for your sysout question to send to the printer? You'll need to know your sites MSGCLASSes so you can use the correct one.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Write R1 and R2 to OP1 and R1 to OP2 bhaskar_kanteti DFSORT/ICETOOL 10 Fri Mar 03, 2017 11:18 am
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


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