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

debug a Cobol-CICS program using XPEditor.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Hyderabad

PostPosted: Fri Apr 07, 2006 12:48 pm
Reply with quote

Hi,

I am not able to debug a Cobol-CICS program using XPEditor.

1.I have compiled the program using Expeditor option.

2. then I retrieved the new version of the prog. using CEMT SET PROG() NEW.

3. Entered into Expeditor.

Please help me How to proceed further.

Thanks,
Mahi
Back to top
View user's profile Send private message
JAYANT KUMAR SAHOO

New User


Joined: 15 Mar 2006
Posts: 14

PostPosted: Fri Apr 07, 2006 10:08 pm
Reply with quote

What exactly the error msg u r getting after u entered into xped??
it may be source not available due to improper xped ddio dataset while compiling.

Pls provide more details.
Back to top
View user's profile Send private message
sajjid.hussain

New User


Joined: 20 Apr 2005
Posts: 6

PostPosted: Sat Apr 08, 2006 10:01 am
Reply with quote

After u compile a program and give a new copy.
U should go to the cics region(test) and give xped program name,
then it the program goes into xped mode.
press f9 for the step by step execution of the program.
there are many line commads which u can use.
Hope this helps.

Regards
Sajjid
Back to top
View user's profile Send private message
sajjid.hussain

New User


Joined: 20 Apr 2005
Posts: 6

PostPosted: Sat Apr 08, 2006 10:03 am
Reply with quote

Also make sure u have compiled the program with the correct loadlib.
u can check this in the CICSJCL.
Back to top
View user's profile Send private message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Hyderabad

PostPosted: Mon Apr 10, 2006 4:29 pm
Reply with quote

After Entering into Xpeditor, There is no source listing for my compiled program.
Back to top
View user's profile Send private message
Piyu

New User


Joined: 12 Apr 2006
Posts: 3
Location: Washington DC

PostPosted: Wed Apr 12, 2006 9:06 pm
Reply with quote

As pointed by Jayant, it seems your compilation with EXPED settings did not happen correctly. Check the ddlib mentioned in the compilation jcl.
Most of the times, when source is not available in XPED, there is some prob with compilation . Also ensure that your new copy is successful.
Back to top
View user's profile Send private message
sreehari_04

New User


Joined: 23 Jan 2006
Posts: 7

PostPosted: Tue May 09, 2006 3:16 pm
Reply with quote

Hi Mahi,
1) First check did u compiled the program with XPED option
2) Second thing after successfull compilation you need to promote that new load module to corresponding CICS region(copying the new load moudle to CICS region load lib PDS)
3)Then create new copy for that program
4)xped <prog-name>,and put break point at procedure division
5)press F3, F3, F3 it will prompt you do u want end session,type no
6) Fire transaction,use F9 FOR STEP BY STEP EXECUTION
F12 FOR COMPLETE EXECUTION
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 -> CICS

 


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