View previous topic :: View next topic
|
Author |
Message |
Squeak6
New User
Joined: 04 Aug 2005 Posts: 36
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
Squeak6
New User
Joined: 04 Aug 2005 Posts: 36
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
or is it something to do with AFP?
Thrusday was never a guess day before this... |
|
Back to top |
|
|
Squeak6
New User
Joined: 04 Aug 2005 Posts: 36
|
|
|
|
yes... AFP... but more so with the PPFA using "TRCREF" |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
karthikbabudh
New User
Joined: 08 Sep 2003 Posts: 32 Location: Toronto <-> Bangalore
|
|
|
|
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 |
|
|
|