MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

display statement in assembler similar to cobol display

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
enge
Beginner


Joined: 12 Oct 2004
Posts: 78
Topics: 39

PostPosted: Wed Nov 17, 2004 4:36 am    Post subject: display statement in assembler similar to cobol display Reply with quote

is there a corrispondent statement DISPLAY (cobol code) in assembler?
j'd like to display registers contains.
thanks in advance.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Wed Nov 17, 2004 8:27 am    Post subject: Reply with quote

Enge,

You need to use WTO(write to the operator) macro to use the display statement.

Check this link for detailed explanation of the WTO macro

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1A741/155.0?DT=20001020155112


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Nov 17, 2004 9:19 am    Post subject: Reply with quote

Just curious - what environment are you running this in (TSO, CICS, BATCH, etc)?
Back to top
View user's profile Send private message Visit poster's website
enge
Beginner


Joined: 12 Oct 2004
Posts: 78
Topics: 39

PostPosted: Wed Nov 17, 2004 9:41 am    Post subject: Reply with quote

now i'm testing in batch .. i'll look in sysout ... as far as CICS i think to see display in cics queue..
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Wed Nov 17, 2004 10:03 am    Post subject: Reply with quote

Enge,

Note that WTO messages will be written to System Log. If you want to route it only to your job log then you need to use ROUTCDE parameter.check this link for ROUTCDE parameter

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1A741/155.1.8?SHELF=&DT=20001020155112&CASE=

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group