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

What is the use of special-names clause


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
guruguha

New User


Joined: 02 Apr 2007
Posts: 12
Location: Chennai

PostPosted: Tue May 15, 2007 2:44 pm
Reply with quote

Hi,
What is the use of special-names clause in Environment division?

eg: the syntax is like:

C02 IS LCP-CH2

Please come with a nice reply since this is seldom used.

Thanks,
Karthikeyan.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue May 15, 2007 2:48 pm
Reply with quote

The SPECIAL-NAMES paragraph:
Relates IBM-specified environment-names to user-defined mnemonic-names
Relates alphabetic-names to character sets or collating sequences
Specifies symbolic characters v Relates class names to sets of characters
Specifies one or more currency sign values and defines a picture symbol to represent each currency sign value in PICTURE clauses
Specifies that the functions of the comma and decimal point are to be interchanged in PICTURE clauses and numeric literals

Is that "nice" enough?
Back to top
View user's profile Send private message
guruguha

New User


Joined: 02 Apr 2007
Posts: 12
Location: Chennai

PostPosted: Tue May 15, 2007 3:19 pm
Reply with quote

Hi Thompson,
Sorry I could not understand this.
Please explain me clearly.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue May 15, 2007 4:53 pm
Reply with quote

Why don't you take a look at the documentation on the SPECIAL-NAMES paragraph and the topics that follow it in the manual. They can explain much more clearly.
If you still have some specific questions, feel free to ask them.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 16, 2007 12:20 am
Reply with quote

Hello,

I believe this is overstated.
Quote:
C02 IS LCP-CH2

Please come with a nice reply since this is seldom used.


It is used in most batch programs that produce a printed report. This is the way most programs reach top-of-form when new report headings are printed.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts To search DB2 table based on Conditio... DB2 1
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Read file names from existing file th... DFSORT/ICETOOL 6
No new posts Problem while sending special charact... JCL & VSAM 4
No new posts Unable to retrieve Datasets Names usi... CLIST & REXX 20
Search our Forums:

Back to Top