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

Type of a program from load module


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Aug 14, 2007 2:47 pm
Reply with quote

Hi,
I am having a JCL which is calling a program (say AAAA). The load module is present in the link library mentioned in the linklib. But I am not being able to find out the source code. Even looking into the load module, I have found that name of the source module is AAAAB. I checked with both the names but failed. At least it will be helpful for me if I can find out what kind of program (COBOL-DB2, COBOL-IMS, CICS-BATCH, ASSEMBLER, PL1 or so) it is!

N.B - By looking into the JCL, I am sure that it is not COBOL-DB2 or COBOL-IMS.

At least it will be a great help if anyone can tell me the way to find out the kind of program by looking into the link module.

Please help me out ...
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 14, 2007 3:58 pm
Reply with quote

OK, you need to get a copy of z/OS V1R6.0 MVS Diagnosis Tools and Service which you can find at this link publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FINDBOOK?filter=iea2v150&SUBMIT=Find&FS=TRUE

Next, you need to run a 'Listing IDR Information for Several Load Modules' which is in Chapter 15.11 of my copy of iea2v150. Read thru this chapter, it tells you how to set up the jcl and read the output listing.

Once you have the IDRL (product code of the assembler or compiler) of the object generator, you can go to this web site gsf-soft.com/Documents/PRODCODES.shtml Product codes for S/360 OS, OS/VS, MVS, OS/390 and z/OS compilers and determine your program type.



have fun.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Aug 14, 2007 5:30 pm
Reply with quote

Hey Dick,
Thanx for ur response. It worked! But in SYSPRINT, I am getting the following data which do not match with the produt codes refered by you in the link: [url]http://gsf-soft.com/Documents/PRODCODES.shtml [/url] -

Code:

0                   *****LOAD MODULE PROCESSED EITHER BY VS LINKAGE EDITOR OR BINDER                                     
1                                           LISTIDR FOR LOAD MODULE LSP249                      PAGE 0001               
                                                                                                                         
0                         THIS LOAD MODULE CONTAINS NO INFORMATION SUPPLIED BY SPZAP                                     
0------------------------------------------------------------------------------------------------------------------------
0         THIS LOAD MODULE WAS PRODUCED BY LINKAGE EDITOR 5695PMB01  AT LEVEL 01.03 ON DAY 215 OF YEAR 2007 AT 02:02:44.
0------------------------------------------------------------------------------------------------------------------------
0          CSECT        TRANSLATOR               VR.MD             YR/DY                                 
0          LSP249       5648A2500                22.02           2007/215                                 
           IGZCBSO      569623400                01.04           2002/095                                 
                        PL/X-370                 01.04           2002/095                                 
           CEESG005     569623400                01.04           2002/095                                 
                        PL/X-370                 01.04           2002/095                                 
           CEESTART     569623400                01.04           2004/041                                 
           CEEBETBL     569623400                01.04           2002/109                                 
           CEELOCT      569623400                01.04           2002/109                                 
           CEEBLLST     569623400                01.04           2002/109                                 
           CEEBTRM      569623400                01.04           2002/109                                 
           CEEBPUBT     569623400                01.04           2002/109                                 
           USP006       566896201                02.01           1993/029
           LKCMI        569623400                01.04           2002/080
           DFSLI000     569623400                01.03           2002/010
           DFSCPYRT     569623400                01.03           2002/010
           CEEBINT      569623400                01.04           2002/109
                        PL/X-390                 02.01           2002/109
           CEEARLU      569623400                01.04           2002/109
                        PL/X-390                 02.01           2002/109
           CEEBPIRA     569623400                01.04           2002/109
                        PL/X-390                 02.01           2002/109
           CEECPYRT     569623400                01.04           2002/109
                        PL/X-390                 02.01           2002/109


By this listing how come I will know what kind of program's load I am dealing with! In SYSIN, I used following parameters -

Code:

  LISTIDR DDN=LOADLIB,MEMBER=CDXCW     
  LISTLOAD DDN=LOADLIB,MEMBER=CDXCW     
  LISTOBJ DDN=LOADLIB,MEMBER=CDXCW     
  LISTLPA FLPA|MLPA|PLPA               


But I am not being able to get any descriptive information so that I can get to know what type of load module it is.
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 14, 2007 5:56 pm
Reply with quote

Come on, please.

I did a find for 5648A2500 and got COBOL for OS/390 and VM V2 -- LSP249

569623400 is high-level assembler.

except for LSP249, all the rest of the modules are IBM software.

any module (or document) with CEE is Language Environment.

IGZ and IGY have to do with COBOL; they are not COBOL modules, they support COBOL Run-time.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Aug 14, 2007 6:07 pm
Reply with quote

Hey Dick,
Seriously I don't know where from you got the previous message. I am sorry - I am not being able to find out that. OK! This was a sample program for which I was making a test run. But the impacted program for which I was looking for your help, it is not having any CEE in their name to indicate the program environment. But if I search for 569623400 as the product code, I have got those values. I think it will be better if you can provide me the product codes in detail. I am looking for your help man once again! Please! Help me out. I have gone to the site gsf-soft.com/Documents/PRODCODES.shtml but not getting a complete information of the product codes...
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 14, 2007 6:35 pm
Reply with quote

My browser is Firefox, so the FIND/SEARCH feature is different from IE, but all I did was FIND '5648A2500' (the IDR code for the compiler used to generate an object for module LSP249) on the PRODCODE page; it highlighted the find object in column 3 which is the IDR code for the compiler.

I apologize for giving you too much information. I thought it would be helpful to know that off the list of modules in the amblist, the CEE's were language environment modules linked into your run-unit.

I hope this post has helped. I don't know what else that I can say to make it clearer. If you have more questions, post'em and I will try to help.
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 Aug 14, 2007 7:15 pm
Reply with quote

Hello,

If you are using Internet Explorer, go to
http://gsf-soft.com/Documents/PRODCODES.shtml
then press Ctrl+F (which will open "find"), type/paste 5648A2500, click "Find Next", and you will be placed on a line in the COBOL section that reads
Quote:
5648-A25 COBOL for OS/390 and VM V2 5648A2500 IGY,IGZ
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Thu Aug 16, 2007 12:21 pm
Reply with quote

Dick Brenholtz,
Thanks a lot man! I am sorry - I actually got confused. Sorry 4 that. Actually I thought the link you were refering for the product codes, contain the sample codes and bunch like that. So I was trying to match the product code bunch of the link and the SYSPRINT message! Ha ha ha... What a silly idea I had. Sorry once!
But Dick, now think if your COBOL program is having DB2 and IMS embedded with it. Then how come you can get the idea that it is a COBOL-DB2 or COBOL-IMS or COBOL-DB2-IMS program? I am just asking man - is there any way to find out whether my source COBOL program is a COBOL-DB2, COBOL-IMS, COBOL-CICS or so?

Hey Dick Scherrer, thanks for ur suggestion! But man I was not looking for that!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 16, 2007 4:10 pm
Reply with quote

The JCL should tell you if it is DB2 or IMS. Only programs that connect to a DB with RRS can be executed without IKJEFT0n (terminal emulation). Take a look at the sysin parms for IKJEFT0n and look at the connect statement.

If you can't tell, post the JCL and sysin parms.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Thu Aug 16, 2007 4:14 pm
Reply with quote

Sorry my mistake again! Yah from JCL, I can get the idea whether the program is a COBOL-DB2 or COBOL-IMS. But what about COBOL-CICS? Actually I don't know CICS. So for me, from JCL I think I can not find it out. What do you say Dick?
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Load new table with Old unload - DB2 DB2 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top