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

How to check condition code in Xpeditor


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vijay korde

New User


Joined: 19 Feb 2010
Posts: 27
Location: India

PostPosted: Mon Feb 22, 2010 1:10 pm
Reply with quote

How to check condition code while Xpediting assembler program?
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: Mon Feb 22, 2010 1:30 pm
Reply with quote

Hello,

The condition code is not yet available while the code is running. . . Or keep an eye on register 15.

Possibly, i misunderstand the question.
Back to top
View user's profile Send private message
vijay korde

New User


Joined: 19 Feb 2010
Posts: 27
Location: India

PostPosted: Mon Feb 22, 2010 2:27 pm
Reply with quote

I mean the PSW condition code not MAXCC. e.g LTR instruction sets condition code while XPEDITING. I want to view this condition code.
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: Mon Feb 22, 2010 10:08 pm
Reply with quote

Hello,

Quote:
LTR instruction sets condition code
Not quite correct. . .

LTR can be used to set a condition code, but that is not the reason the instruction exists. The name of the instruction is Load and Test Register. Suggest you reasearch the instruction.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Feb 22, 2010 10:29 pm
Reply with quote

PEEK PSW and then interpret the appropriate PSW bits.
Back to top
View user's profile Send private message
sandeep chopra

New User


Joined: 28 Aug 2008
Posts: 11
Location: Noida

PostPosted: Mon Dec 13, 2010 10:24 pm
Reply with quote

Hi Vijay,

at command line type SHOW PSW and then check 18-19 bits of PSW.

Thanks,
Sandeep chopra
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 -> Compuware & Other Tools

 


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 SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top