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

How do you identify a COBOL which has IMS DB call


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

New User


Joined: 05 Jul 2007
Posts: 40
Location: Minneapolis, MN

PostPosted: Mon Jul 26, 2010 8:07 pm
Reply with quote

I have a set of 15,000 COBOL components. I have to group these elements by the database being called from the program. For Ex: COBOl-DB2, COBOL-IMS...
What I am looking for is a specifica pattern by which all COBOL IMS programs follows, so that I can write SORT/REXX/SCANS to identify them

Thanks!
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jul 26, 2010 9:47 pm
Reply with quote

In my shop, COBOL-IMS programs are identified by CALL CBL2DLI or by EXEC DLI statements.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jul 27, 2010 2:56 pm
Reply with quote

You may also hasve EXEC DLI GU USING PCB...mm..but what is the standard at your shop? That should be the key to go.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 27, 2010 7:43 pm
Reply with quote

Hello,

I've gotten lost . . .

How might
Code:
EXEC DLI GU USING PCB...
find code not detected by
Code:
EXEC DLI


Some day i will learn more about ims. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jul 28, 2010 5:18 pm
Reply with quote

Ok, you're correct Dick - no difference. I must have lost my mind while posting that or might have read reply from O too fast to miss the later part of his reply... icon_redface.gif.
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 COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top