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

Differentiate cics program and normal cobol program?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Tue Aug 11, 2009 1:11 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 11, 2009 4:23 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 11, 2009 7:06 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top