What is equivalent of DISPLAY (of COBOL) in assembler?

HLASM for MVS. PL/I for MVS & Enterprise PL/I for z/OS.
Previous topicNext topic

Topic Author
Aardhya D
Registered Member
Posts: 10
Joined: Wed Feb 26, 2014 12:01 pm

What is equivalent of DISPLAY (of COBOL) in assembler?

Post by Aardhya D » Mon Sep 15, 2014 1:55 pm

Hi

What is the equivalent keyword of DISPLAY (of Cobol) in Assembler ?




zprogrammer
Global Moderator
Global Moderator
Posts: 603
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars
Zodiac: Libra

Re: What is equivalent of DISPLAY (of COBOL) in assembler?

Post by zprogrammer » Mon Sep 15, 2014 2:00 pm

You could make use of WTO


zprogrammer

User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1331
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: What is equivalent of DISPLAY (of COBOL) in assembler?

Post by Robert Sample » Mon Sep 15, 2014 5:15 pm

DISPLAY in COBOL is a fairly complex statement since it automatically converts data to zoned decimal. There is no real equivalent in Assembler since the data conversions have to be done by the programmer. ASSIST is an Assembler macro language that contains something similar to DISPLAY but it is not commonly available.




ggrcha
New Member
Posts: 2
Joined: Sun Jan 11, 2015 7:23 am

Re: What is equivalent of DISPLAY (of COBOL) in assembler?

Post by ggrcha » Sun Jan 11, 2015 7:02 pm

If you are using language environment you can use CEEMOUT, but it won't convert any data. This callable services gás the advantage to work well both on CICS and batch assembler programs.




Topic Author
Aardhya D
Registered Member
Posts: 10
Joined: Wed Feb 26, 2014 12:01 pm

Re: What is equivalent of DISPLAY (of COBOL) in assembler?

Post by Aardhya D » Mon Jun 26, 2017 3:13 pm

Thanks ggrcha.



Previous topicNext topic

Return to “Assembler & PL/I.”