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
 

 

Problem in loading a program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Wed Jun 04, 2008 5:28 pm    Post subject: Problem in loading a program
Reply with quote

Hi,

I have modified a COBOL CICS DB2 program and the corresponding map.
Modification is, there will be four options in the main menu. I have removed the third option and thus changing the fourth option to third.
So in the application, if i give 3, it should select the appropriate map.

To refresh the changes incorporated, i have used the following command.
Code:

CEMT SET PROG(XC80020A,XC8002M) NEW


Code:

 STATUS:  RESULTS - OVERTYPE TO MODIFY                               
 Prog(XC80020A) Leng(0000009208) Cob Pro Ena Pri     Ced     NORMAL
    Res(000) Use(0000000004) Bel Uex Ful Qua Cic                   
 Prog(XC8002M ) Leng(0000000600)     Map Ena Pri             NORMAL
    Res(000) Use(0000000004)             Qua Cic                   


But only the map changes are reflected. If i give option 3, the screen is getting hanged for a longer time.
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jun 04, 2008 6:12 pm    Post subject:
Reply with quote

Did you compile the program and put it in the proper loadlib?
Back to top
View user's profile Send private message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Wed Jun 04, 2008 6:46 pm    Post subject:
Reply with quote

Ya. I use changeman. I have compiled it as i do for a COBOL program and placed it in loadlibb. Any special compilation needed ? icon_eek.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Jun 04, 2008 6:53 pm    Post subject:
Reply with quote

CEMT SET PROG(value) NEW
(value) specifies a program identifier (1-8 characters), which is the name of a specific program entry in the table of installed program definitions.
Back to top
View user's profile Send private message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Wed Jun 04, 2008 7:35 pm    Post subject:
Reply with quote

I used CEMT SET PROG(value) NEW only to get the code changes into the transaction. I am unable to find the reason why the application is getting hanged.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jun 04, 2008 8:16 pm    Post subject: Reply to: Problem in loading a program
Reply with quote

venu,

Try this command.

Code:
CECI LOAD PROG(pgmname)

and then CEMT SET PROG(pgmname) NEW


I am not sure but give it a try.
Back to top
View user's profile Send private message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Thu Jun 05, 2008 9:23 am    Post subject: Reply to: Problem in loading a program
Reply with quote

Code:

LOAD PROG(LS80020A)                     
STATUS:  ABOUT TO EXECUTE COMMAND       
 EXEC CICS  LOad                       
  Program( 'LS80020A' )                 
  < Set() >                             
  < Length() | Flength() >             
  < Entry() >                           
  < Hold >                             



SET PROG(LS80020A) NE                                                 
STATUS:  RESULTS - OVERTYPE TO MODIFY                                 
 Prog(LS80020A) Leng(0000009208) Cob Pro Ena Pri     Ced     NORMAL   
    Res(000) Use(0000000004) Bel Uex Ful Qua Cic                     
                                                                     


But no use. It is getting hanged.

The program is in active status in changeman. I think it doesnt have any errors wen compiling. I dont know why the prob exists.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Jun 05, 2008 2:41 pm    Post subject: Re: Reply to: Problem in loading a program
Reply with quote

venuhunev wrote:
But no use. It is getting hanged.
Not real descriptive.....
Debug, debug, debug!!!!

CEDF the transaction.
Once started, drop into CECI and load the program, copy the load address and swtich to displat working storage, paste the load address and look at the bind date and time, comfirm it is the version you want.
Then do the same for the map.
Then let the CEDF transaction continue until it 'hangs'.
You will then know why.

Confirm the prog and map are the new ones and then debug your programming problem.
Back to top
View user's profile Send private message
shagnwrx

New User


Joined: 07 Jul 2006
Posts: 17
Location: Birmingham, AL

PostPosted: Fri Jun 06, 2008 1:49 am    Post subject:
Reply with quote

venuhunev wrote:
Ya. I use changeman. I have compiled it as i do for a COBOL program and placed it in loadlibb. Any special compilation needed ? icon_eek.gif


This is just a hunch.. but "loadlibb"? That sounds like a naming convention for a batch loadlib. Sounds like you're compiling into the wrong loadlib. Is there a loadlibo? ( o for online).
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jun 06, 2008 3:53 am    Post subject:
Reply with quote

Is it compiled as a CICS program?
Back to top
View user's profile Send private message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Fri Jun 06, 2008 10:11 am    Post subject:
Reply with quote

How to compile it as a cics program. is there any option in changeman ?

I have compiled liek a COBOL program compilation only.
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: Fri Jun 06, 2008 7:14 pm    Post subject:
Reply with quote

Hello,

Talk with your peers or your cics support people. There is probably a standard cics compile process and you should use it.
Back to top
View user's profile Send private message
venuhunev

New User


Joined: 26 May 2007
Posts: 70
Location: chennai

PostPosted: Fri Jun 06, 2008 7:59 pm    Post subject:
Reply with quote

I wil try to check icon_smile.gif
Thanks guys for the support
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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