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

HLASM for MVS. PL/I for MVS & Enterprise PL/I for z/OS.

Topic author
Aardhya D
Registered Member
Posts: 10
Joined: Wed Feb 26, 2014 12:01 pm
Has thanked: 2 times

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

Postby 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
Has thanked: 7 times
Been thanked: 7 times

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

Postby zprogrammer » Mon Sep 15, 2014 2:00 pm

You could make use of WTO


zprogrammer

Online
User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1256
Joined: Fri Jun 28, 2013 1:22 am
Location: East Dubuque Illinois
Has thanked: 2 times
Been thanked: 90 times

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

Postby 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?

Postby 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
Has thanked: 2 times

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

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

Thanks ggrcha.




Return to “Assembler & PL/I.”

Who is online

Users browsing this forum: Bing [Bot], CommonCrawl [Bot] and 0 guests