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
 

 

Easytrieve Print Channels

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

New User


Joined: 11 Jan 2012
Posts: 1
Location: United States

PostPosted: Wed Feb 01, 2012 2:09 am    Post subject: Easytrieve Print Channels
Reply with quote

Is it feasible to change the print channels in Easytrieve? In my program each time I execute PRINT (PRINT ABCDE) a form/report is printed.

Per my understanding in column 1 of the print file is a “channel” that tells the printer where to start printing.
Code:

----+----1----+----2----+----3
******************************
1   <===                 
          ADDRESS DATA
               


My objective is to be able to issue three PRINT commands per record and have the output be written to three different channels. Like this --

Code:

----+----1----+----2----+----3
******************************
1                   
          ADDRESS DATA
         


Code:

----+----1----+----2----+----3
******************************
2                   
          FORM DATA 1         



Code:

----+----1----+----2----+----3
******************************
3                   
          FORM DATA 2         


I hope my question makes sense, if not, let me know and I will try again.

Note:
I do not necessarily need to issue 3 print commands; essentially, I just need to ability to force a value into the print channel field to ensure that my forms are printed correctly.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Feb 01, 2012 2:27 am    Post subject: Reply to: Easytrieve Print Channels
Reply with quote

With appropriate statements you can format a whole page with one PRINT.

Why don't you try it with multiple LINE statements? Even look at the label printing stuff.

If you want "skip to channel" sort of stuff, look in the manual. If it's not there, it doesn't do it.

If none of the above helps, there's always the possibility of a Cobol PRINTER EXIT.

EDIT:

An example PRINTER EXIT is now here.
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 READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts COMMAREA and CHANNELS menonkiran CICS 4 Tue Apr 04, 2017 8:14 am
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm


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