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

What is XREAD instruction in Assembler?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suryamtechcse
Warnings : 1

New User


Joined: 28 Apr 2006
Posts: 9
Location: Chennai

PostPosted: Fri Jan 08, 2010 10:45 pm
Reply with quote

In the below code, what is function of XREAD?

SR R2,R2
XREAD BUFFER,80
TRT BUFFER(80),SCANTAB2
B BRTAB(R2)
BRTAB B NONE
B ALPHA
B DIGIT

Could you please provide me indept info about XREAD? Syntax?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 08, 2010 11:18 pm
Reply with quote

Just above the SR instruction, insert PRINT GEN, beginning in column 10, which will expand Macro code.

I believe you'll find that XREAD is an In-House Macro.

Bill
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: Fri Jan 08, 2010 11:39 pm
Reply with quote

I vaguely recall ASSIST used an XREAD macro so it might not be in-house.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 08, 2010 11:43 pm
Reply with quote

Robert,

Yes, I believe you're correct (CRS aside).

Many years since I've seen it or had anyone ask about it....

Bill

isbn.nu/9780023900051
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: Fri Jan 08, 2010 11:45 pm
Reply with quote

Bill, ASSIST is still around and I think U. Waterloo made it free a while back so it's probably still a viable way to learn Assembler.
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
Search our Forums:

Back to Top