Generate BANNER record in COBOL.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Bethany
Registered Member
Posts: 10
Joined: Sat Dec 28, 2013 2:57 pm

Generate BANNER record in COBOL.

Post by Bethany »

Hi,

I should not be mistaken if I'd say - that somebody has already coded a cobol program to generate a banner for printing. Where the text of the banner is provided by the parameter. For example, I would like my banner to say TOOL. The banner Cobol program will generate a big T pattern, the O pattern etc. for each letter of the input.

Is there such some sample/standard Cobol program which I can download and use?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Generate BANNER record in COBOL.

Post by enrico-sorichetti »

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Bethany
Registered Member
Posts: 10
Joined: Sat Dec 28, 2013 2:57 pm

Re: Generate BANNER record in COBOL.

Post by Bethany »

Thanks enrico but it lookslike I clould not really find the file you might be referring to:
http://www.google.com/custom?q=banner&s ... bttape.org
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Generate BANNER record in COBOL.

Post by enrico-sorichetti »

I was not referring to a specific file or to a ready to run snippet

You will have to search a bit Yourself

cbtf1 contains a detailed description of the content of every file of the CBT tape

for example in file 136 there is an assembler program called BANNER
where You can find how to call the IBM block letter routine ( IEFSD095 )
and do the same from Your cobol program
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Bethany
Registered Member
Posts: 10
Joined: Sat Dec 28, 2013 2:57 pm

Re: Generate BANNER record in COBOL.

Post by Bethany »

Thanks for the direction enrico. I'll work it out.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”