IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Non displayable data(PD) in spool


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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

Moderator Emeritus


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

PostPosted: Tue Feb 02, 2010 1:38 am
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
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

Moderator Emeritus


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

PostPosted: Tue Feb 02, 2010 1:56 am
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
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

Superior Member


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

PostPosted: Tue Feb 02, 2010 5:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top