Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need Code Explanation for this COBOL

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

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Mon Jan 14, 2008 8:12 am    Post subject: Need Code Explanation for this COBOL
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    Post subject:
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    Post subject:
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    Post subject: hi
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jan 16, 2008 3:58 pm    Post subject: Reply to: Need Code Explanation for this COBOL
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us