Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How do you identify a COBOL which has IMS DB call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How do you identify a COBOL which has IMS DB call
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: 2360
Location: Israel

PostPosted: Mon Jul 26, 2010 9:47 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Jul 27, 2010 2:56 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jul 27, 2010 7:43 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Jul 28, 2010 5:18 pm    Post subject:
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    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
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us