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 see the value of comp field in dataset

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

New User


Joined: 14 Mar 2005
Posts: 1
Location: Pune

PostPosted: Wed Jun 29, 2005 11:28 am    Post subject: How see the value of comp field in dataset
Reply with quote

Can someone tell me how to view the value of comp field in a PS.
Say for example i am writing a record containing eno,name and sal from COBOL to PS file. Of these Sal is declared of COMP-3 type. When i open the PS it shows me the written value of Eno, name but not of Sal.
I i use HEX on it shows me in HEXADECIMAL format.

My question is can i view the sal value in decimal
Back to top
View user's profile Send private message

priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Thu Jun 30, 2005 12:19 am    Post subject:
Reply with quote

Move the comp-3 field to a numeric (9) before writing to PS File.
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu Jun 30, 2005 2:24 am    Post subject:
Reply with quote

If you have Fileaid at your shop you will be able to view it using a proper copy book.

Regds
-Som
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Fri Jul 01, 2005 2:10 pm    Post subject: Re: How see the value of comp field in dataset
Reply with quote

I agree with somasundaran. U can make use of FileAid utility. Search for fileaid document to get an idea of how to use fileaid.

_________
GM
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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am


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