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

Easytrieve Print Channels


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Feb 01, 2012 2:27 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
No new posts Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts is there a way to print time in HH:MM... SYNCSORT 12
No new posts Print out all lines with 'IBM' compil... CLIST & REXX 8
Search our Forums:

Back to Top