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

Need Code Explanation for this COBOL


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

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Mon Jan 14, 2008 8:12 am
Reply with quote

I have a code here:
Menu Utilities Compilers Help
-------------------------------------------------------------------------------
BROWSE ANSL.TL9701.UTMP3LIB(LAQREC6) - 01.99 Line 00000000 Col 001 080
Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
$FORMAT COBOL
$ADD LAQREC6,PE AIG
|JOB ?NAME=LAQREC6
|C2ONLIN ?NAME=LAQREC6,?CALL=NCAL
IDENTIFICATION DIVISION.
PROGRAM-ID. LAQREC6.

What does the statements before the Identification division signifies or it is for what?

Louie
AIGSI - Malaysia
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Mon Jan 14, 2008 7:32 pm
Reply with quote

Have you checked the manual?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jan 14, 2008 7:34 pm
Reply with quote

Have you checked with your coworkers?
Back to top
View user's profile Send private message
sdsinfo

New User


Joined: 14 Jan 2008
Posts: 10
Location: bangalore

PostPosted: Wed Jan 16, 2008 12:45 pm
Reply with quote

hi guy, cobol program starts only from the key word 'identification division'
hence the things wht evr written before tht u can treat as a instructions,information or comments.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 16, 2008 3:58 pm
Reply with quote

Quote:
hence the things wht evr written before tht u

care to translate to an understandable language ???


for the O/P
the statements before the "identification division" are not cobol statement,
they might belong to some kind of software management tool,
it would be better to speak with Your peers
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Jan 16, 2008 6:16 pm
Reply with quote

Or they may be compiler directives such as ARITH(EXTEND) that still affect the COBOL compilation.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jan 16, 2008 7:57 pm
Reply with quote

Not with that syntax.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jan 17, 2008 1:30 am
Reply with quote

I wasn't talking about those specifically, but more to sdsinfo's statement.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jan 17, 2008 8:42 am
Reply with quote

Louie, if you're still out there take Crag's advice and talk to a co-worker or check to see if your site has a user or reference manual.

Let us know what you dig up.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts run rexx code with jcl CLIST & REXX 15
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top