IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to write jcl code message send to printer?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Global Moderator


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

PostPosted: Fri Jan 11, 2008 5:16 pm
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
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

Global Moderator


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

PostPosted: Fri Jan 11, 2008 6:00 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compile rexx code with jcl CLIST & REXX 6
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top