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
 

 

Table reference characters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Table reference characters
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: 7935
Location: Bellevue, IA

PostPosted: Thu Mar 18, 2010 8:00 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 18, 2010 8:01 pm    Post subject: Reply to: Table reference characters
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 18, 2010 8:03 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 18, 2010 8:11 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 18, 2010 8:29 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Thu Mar 18, 2010 9:12 pm    Post subject: Reply to: Table reference characters
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 18, 2010 10:10 pm    Post subject:
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    Post subject: Re: Table reference characters
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    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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm


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