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

Table reference characters


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Squeak6

New User


Joined: 04 Aug 2005
Posts: 36

PostPosted: Thu Mar 18, 2010 7:49 pm
Reply with quote

Hello everyone… I’m trying to create an overlay. In my PPFA code I want to bold a header line (every time it’s written). I was reading about the “TRCREF” that should handle this. For some reason when I try to add a Table reference characters in my COBOL (the 2nd byte after the CC) the 2nd position is showing up on my report. It’s not it’s supposed to be my Table reference characters.



Squeak....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 18, 2010 8:00 pm
Reply with quote

You posted in the JCL forum, but you're talking about COBOL and something called "TRCREF" (whatever that may be). I think this should be somewhere else, but I'm not sure yet where.

What do you mean by "create an overlay"? Is TRCREF a vendor product -- and if so, from which vendor? What are "table reference characters"? I'm not sure I understand the term as you're using it. Is this Enterprise COBOL and if so, which release? If not, which COBOL are you using?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 18, 2010 8:01 pm
Reply with quote

icon_question.gif icon_question.gif icon_question.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 18, 2010 8:03 pm
Reply with quote

I gues it is this : Page Printer Formatting Aid

If yes try the following manual :

IBM Page Printer Formatting Aid: User’s Guide S544-5284
Back to top
View user's profile Send private message
Squeak6

New User


Joined: 04 Aug 2005
Posts: 36

PostPosted: Thu Mar 18, 2010 8:10 pm
Reply with quote

Sorry for the lack of information... I'm been reading the PPFA manuals and I'm still unable to get the informaion I need... I'll keep looking..
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 18, 2010 8:11 pm
Reply with quote

or is it something to do with AFP?

Thrusday was never a guess day before this...icon_neutral.gif
Back to top
View user's profile Send private message
Squeak6

New User


Joined: 04 Aug 2005
Posts: 36

PostPosted: Thu Mar 18, 2010 8:16 pm
Reply with quote

yes... AFP... but more so with the PPFA using "TRCREF"
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 18, 2010 8:29 pm
Reply with quote

Check the second link here, page 48 (Varying Fonts on a Page) should give you a hint ...
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Mar 18, 2010 9:12 pm
Reply with quote

In JES print output processed by the Print Services Facility (PSF) utility, for a dataset defined as FBA/VBA/FBM/VBM, the first byte is reserved for the ANSI or machine carriage control characters. For IBM and compatible printers, you may also reserve the second byte as the "Table Reference Character (TRC)" which is used to control the character set (or font) used to print that line. This byte is reserved by specifying TRC=Y or TRC=YES in an OUTPUT statement, or OPTCD=J in the DD statement.

This terminology loosely applies to other printer makes, such as Xerox, although they employ different methods to accomplish this, and allow the developer to place the TRC byte anywhere in the print stream. However, for logical and compatibility reasons, it's still normally associated with the second byte of the data.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 18, 2010 10:10 pm
Reply with quote

OPTCD. Yes we had to use that for (if i remember) 3800 laser printers.

Code:

//PRINT    DD  SYSOUT=(S,,DOCU),CHARS=(T11,FM10,VINX),FCB=12I6,
//  DCB=(LRECL=133,BLKSIZE=133,RECFM=FBA,OPTCD=J)
Back to top
View user's profile Send private message
karthikbabudh

New User


Joined: 08 Sep 2003
Posts: 32
Location: Toronto <-> Bangalore

PostPosted: Wed Apr 28, 2010 3:05 pm
Reply with quote

Squeak6 wrote:
Hello everyone… I’m trying to create an overlay. In my PPFA code I want to bold a header line (every time it’s written). I was reading about the “TRCREF” that should handle this. For some reason when I try to add a Table reference characters in my COBOL (the 2nd byte after the CC) the 2nd position is showing up on my report. It’s not it’s supposed to be my Table reference characters.



Squeak....


Hi Squeak,

Change the font instead of changing the TRCREF. Please post the overaly code and I will try to help you.

Regards
Karthik
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 Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top