Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to manupulate font and size of a record written in PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 12:53 pm    Post subject: How to manupulate font and size of a record written in PS
Reply with quote

Can any one reply me ASAP ,how ot manupulate the font SIze of a record written into a PS flat file . i want a single line of character to be bold and of big size font . PLease reply soon...
Back to top
View user's profile Send private message

johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 12:55 pm    Post subject: Please anyone reply soon .
Reply with quote

need a favor from your side .
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Sep 30, 2005 1:36 pm    Post subject: Re: How to manupulate font and size of a record written in P
Reply with quote

If I m not wrong ......changing the FONT can be achieved thru EMULATOR OPTIONS itself.....

But I dont think ...only selected record can be done.....It applies on whole screen.....

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Fri Sep 30, 2005 3:50 pm    Post subject: Re: How to manupulate font and size of a record written in P
Reply with quote

Are you talking about the format of a printed report?
Back to top
View user's profile Send private message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 4:18 pm    Post subject: yes its about a report work but from a PS file
Reply with quote

Yes its a PS file to be loaded into report center. but in the report some of the line to be bold and of bigger size . it has to be prodused by mainframe output file Which is a flat file (PS ).

Can you plz reply for this ,if any suggestiong ,i am in need of it . icon_question.gif
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Sep 30, 2005 6:17 pm    Post subject: Re: How to manupulate font and size of a record written in P
Reply with quote

What is the length of the print line (is it 132 characters?)

What is the page orientation (Portrait or Landscape)?

What is the paper size (8 1/2 x 11 or 8 1/2 x 14 or 11 x 13.5)?

Is the output device an IBM AFP 3800/3820 APA printer? Or, is it a XEROX PDL printer?

You need to know all this to select the appropriate font. Basically, your dataset will need RECFM=FBA and you will need to specify TRC=Y. The first column will contain the carriage-control characters, and the second column will contain values for Table-Reference-Characters.

Let's say, for example, that the print output is 132-characters, printed on an IBM 3800 printer, landscape orientation on 11 x 13.5 inch paper. You can use a 10-pitch font, so you use:

Code:

//OUTPUT OUT TRC=Y,CHARS=(GT10,GB10),PAGEDEF=pdef,FORMDEF=fdef
//REPORT DD SYSOUT=A,OUTPUT=*.OUT


In your data, you match your TRC values to the order you specified in the CHARS parameter. So, for normal text, you code either '0' or nothing. For bold text, you code '1'.
Back to top
View user's profile Send private message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 7:27 pm    Post subject: Kevin thatns for the support , Still more doubt ?
Reply with quote

Kevin ,can you please clarify me some doubts please?

1: The size of the file is 133 standard ,but not sure whether the file will be of portait or landscape .Is there any charecter contraol to say that the printing page is Landscape .

2 : is there any way to increase the size of the font ?

3: the file which i write into is a PS of RECF=FBA and LRECL = 133 ,
and no other parameter i pass other that this .If you can give me a brief jcl For it ,it would be usefull to me .

4 : i use a proc to load this file to Online data viewer ,and to print from there is the probelm .Even if we select a Landscape layout the output comes in prtrait format. Any way we can make it possible ?

5 : And also the Printer is not a mainframe printer but its a local printer only .

Now these are my issues ,if you can please help me out ,i would be thankfull to you for that .Even if you can send and document related to that ,it will be usefull to me

waiting for your replu

icon_smile.gif
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us