COBOL Programming...?

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
chanika
Member
Posts: 7
Joined: Mon Nov 22, 2010 10:24 am

COBOL Programming...?

Post by chanika » Wed Jan 05, 2011 11:05 am

What are the user defined words in cobol...??

and also, the rules in creating/forming user defined words.

i would truly appreciate brief answers.
___________________________
removed the spam links
Warning 1 : Should not use links in the signature
Admin

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Jan 05, 2011 12:41 pm

I'm not sure if I got your question - however, I believe, any working-storage variable, which is allowed per the syntax-rules of COBOL is a user defined variable(word? - by the way COBOL does not have words, it has variables and reserved-words, though not user-defined-words).
Last edited by Anuj Dhawan on Thu Jan 06, 2011 2:28 pm, edited 2 times in total.
Regards,
Anuj

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Jan 06, 2011 12:56 pm

chanika,

since your threads indicate that you are unable to surf or search,
i will provide this link to the Enterprise COBOL Reference Manual

look at APPENDIX1.4 Appendix D. VS COBOL II Reserved Words.

there is a general link at the top of every page of this website to IBM Manuals.

I realize that you suffer a little because of the language.
I am an english speaker working in germany,
and have found that I can increase my language skills with practice.
use a lexicon/dictionary and google - you will be able to find most everything that you need.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Jan 06, 2011 2:28 pm

Thanks Dick - I did not think about the reserved words.

have a good one,
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others