Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to put displays in ASM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
rgupta

New User


Joined: 01 Feb 2008
Posts: 2
Location: Gurgaon

PostPosted: Sat Feb 02, 2008 7:50 am    Post subject: How to put displays in ASM
Reply with quote

Hi,
I am working in ASM in MF environment and have some daubts regarding displays in assembler.
Can you please help me out how to put displays in assembly language.Previously i was doing this with WTO statement but I think this will directly put the o/p to the operator so its not safe enough to use this.
Also I have doubts like how to display the contents of a register.
Awaiting ur reply
Rohit
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


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

PostPosted: Sat Feb 02, 2008 8:52 am    Post subject: How to put displays in ASM
Reply with quote

If your Assembler program is "LE" compliant, then review the Callable Service routine "CEEMOUT".

As you've probably experienced, WTO's are not the ideal way to go.

Regards,

Bill
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Sat Feb 02, 2008 9:03 am    Post subject:
Reply with quote

Convert a register to display content -

Code:

FWORD   DS   F
        DS   CL1
DSPLY   DS   CL8
        DS   CL1
*
      ST     Rx,FWORD
      UNPK   DSPLY(9),FWORD(5)
      MVZ    DSPLY(8),=XL8'00'
      TR     DSPLY(8),=CL16'0123456789ABCDEF'


HTH....

Regards,

Bill
Back to top
View user's profile Send private message
rgupta

New User


Joined: 01 Feb 2008
Posts: 2
Location: Gurgaon

PostPosted: Sat Feb 02, 2008 9:05 am    Post subject: Reply to: How to put displays in ASM
Reply with quote

Hey Bill...Thanks a lot...I think I should try this icon_smile.gif
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Sat Feb 02, 2008 8:36 pm    Post subject: How to put displays in ASM
Reply with quote

There might be a way to call an LE-compliant COBOL sub-program from Assembler, which issues a DISPLAY.

Take a look at the LE component module "CEEPIPI", which allows a non-LE compliant program to create an LE environment.

However, I'm assuming that you're speaking about Batch Assembler and NOT CICS Assembler, because "CEEPIPI" can only be used in Batch.

If this is CICS Assembler, then you can probably route messages to DD "MSGUSR", which is normally defined to one or more Extrapartition TDQ's.

Check with your CICS Sys Prog as to whether there's a TDQ (IE: CSMT) that you can route to (WRITEQ TD), which is not an indirect to the Console.

HTH....

Regards,

Bill
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Remove unnecessary displays in cobol vickey_dw COBOL Programming 3 Mon Jun 29, 2015 1:41 pm
No new posts Capturing Cobol Program Displays luis_pr TSO/ISPF 1 Wed Jun 03, 2015 5:01 am
No new posts Displays after EOF not working Gayathri P CA Products 5 Tue Jun 26, 2012 4:03 pm
No new posts Panel displays last row as soon as ta... samedesh TSO/ISPF 6 Fri Feb 19, 2010 10:46 am
No new posts displays in IMS tran t5590ag IMS DB/DC 2 Tue Jul 14, 2009 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us