Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Non displayable data(PD) in spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Feb 02, 2010 1:22 am    Post subject: Non displayable data(PD) in spool
Reply with quote

Hi,

I need the code to display non displayable data(packed decimal)
in spool.

I just remember that we can use COBOL for this by moving the PD data to another variable and applying some editing formats; not in touch with the exact code, please help!

Thanks.
Back to top
View user's profile Send private message

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Feb 02, 2010 1:30 am    Post subject:
Reply with quote

By spool, do you mean SDSF or IOF? If SDSF, look up the SET HEX ON command. F1 is your friend.
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Feb 02, 2010 1:37 am    Post subject:
Reply with quote

I mean SDSF, i'll check for HEX ON command but still i would like to know the COBOL code for it, i know there is some way of conversion and then we can display it in spool..

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 02, 2010 1:38 am    Post subject:
Reply with quote

Hello,

If you want to see packed data you might simply DISPLAY the packed fields. . .
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Feb 02, 2010 1:52 am    Post subject:
Reply with quote

but then it might not give me the exact value
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 02, 2010 1:56 am    Post subject:
Reply with quote

Hello,

Quote:
but then it might not give me the exact value

Huh? Of course it will give you the exact value. . .

How might something other than the exact value be shown?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Feb 02, 2010 2:03 am    Post subject:
Reply with quote

Meenakshi,
Don't you have access to a mainframe so you can test the suggestions you've gotten so far?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Feb 02, 2010 5:36 pm    Post subject:
Reply with quote

Suggest you search on keyword "display" on "Mainframe COBOL" part of the forum, you'll get enough working examples around.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm
No new posts Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us