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
 

 

Differentiate cics program and normal cobol program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Rajesh S
Warnings : 1

New User


Joined: 11 Jul 2007
Posts: 54
Location: Chennai

PostPosted: Tue Aug 11, 2009 12:50 pm    Post subject: Differentiate cics program and normal cobol program?
Reply with quote

Hi

How to find out the cics program and normal cobol program without see the sources code. What are the ways?


Thanks and Regards in Advance


Rajesh S
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Aug 11, 2009 1:11 pm    Post subject:
Reply with quote

see what load library the objects are in.

learn the naming conventions at your site. Some sites use different naming conventions for on-line and batch modules.

look at the object itself. cics modules will have DFHECI or DFHEC in the first couple of lines.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Tue Aug 11, 2009 4:23 pm    Post subject:
Reply with quote

Rajesh, what did you answer? Interview questions are usually posted with the answer the person gave, then we provide additional comments.
Back to top
View user's profile Send private message
sankaranarayanan parasura

New User


Joined: 28 Oct 2007
Posts: 10
Location: chennai

PostPosted: Tue Aug 11, 2009 6:32 pm    Post subject: Reply to: Differentiate cics program and normal cobol progra
Reply with quote

Quote:
How to find out the cics program and normal cobol program without see the sources code. What are the ways?



You can find the compiler group it was processed in SCM, which was applied while updating/adding the element, by which it can be identified whether it is compiled for online or batch application.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Tue Aug 11, 2009 7:06 pm    Post subject:
Reply with quote

sankaranarayanan parasura: where was SCM specified in the input? You need to be aware that SCM is an optional product not installed at all sites. My site, for example, does not use it and therefore your advice is totally inappropriate here.
Back to top
View user's profile Send private message
sankaranarayanan parasura

New User


Joined: 28 Oct 2007
Posts: 10
Location: chennai

PostPosted: Wed Aug 12, 2009 7:37 am    Post subject: Reply to: Differentiate cics program and normal cobol progra
Reply with quote

Thanks Robert,

I think I have answered for a twisty interview question. I understand what you have said is right.
Each installation will have its own standards to maintain different libraries to differentiate it.
My answer is for one such type of installation which has SCM for maintaining its elements.
If we should not read the source code and identify means it has some clue external to it.
Either it can reside in designated library or SCM defined and it is dependant on installation.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm


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