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

IMS status code XC in DB insert for a BMP run


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Schlesin Sam

New User


Joined: 07 May 2007
Posts: 6
Location: kerala

PostPosted: Thu Oct 14, 2010 11:18 am
Reply with quote

Hi

I am facing XC status code while trying to insert data to DB.
I checked for this status code in google and information I got is ;

XC - Explanation:
The program inserted a message that has some bits in the Z1 field set. The Z1 field is reserved for IMS.

Programmer Response:
Correct the program to prevent it from setting those bits.

However I am not getting in which place I need to modify the program also I am running it as a BMP .
Could anyone please guide me on how I can resolve this?
Do I need to do any modification in JCL ?
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Oct 21, 2010 6:50 pm
Reply with quote

You do not need to modify your JCL. You are populating an area reserved for IMS. Did you look up Z1 field?
Back to top
View user's profile Send private message
Schlesin Sam

New User


Joined: 07 May 2007
Posts: 6
Location: kerala

PostPosted: Fri Oct 22, 2010 12:12 pm
Reply with quote

Actually I was Using one PSB for my BMP job run which is having Alternate PCB as its first PCB.I tried with an Online PCB which is using IO PCB as its First PCB and re run the job.It worked fine.Thanks for the response Sandy.

I believe Alternate PCB has significance only in MPP programs and not in BMP.I Dont know whether I can run the job successfully by modifying the BMP program by reserving space for Z1 field.And as per my knowledge Z1 field has significance in MPP programs.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Oct 22, 2010 6:44 pm
Reply with quote

The Z1 field is part of the message - you need to look it up.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Wed Nov 10, 2010 7:08 pm
Reply with quote

Does your PSB definition have CMPAT=YES ?
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
Search our Forums:

Back to Top