Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to check condition code in Xpeditor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: How to check condition code in Xpeditor
Reply with quote

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Feb 22, 2010 10:08 pm    Post subject:
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: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Mon Feb 22, 2010 10:29 pm    Post subject:
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    Post subject: Reply to: How to check condition code in Xpeditor
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 4 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us