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
 

 

Data exception error while reading DCOLLECT output

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
GOWTHAM

New User


Joined: 01 Apr 2009
Posts: 4
Location: usa

PostPosted: Tue Sep 22, 2009 2:36 am    Post subject: Data exception error while reading DCOLLECT output
Reply with quote

I posting this after doing lot of search on our forum...:-)
I'm trying to use the DCOLLECT output that I received from my SMS team & convert that in to a report format. Unfortunatly we do not SAS with us, so I'm trying to get my reporting done by using Eazytrive ,or, DFSORT.

My final report should have "Data-set-name", "Space-Allocated" & "Space-Utilized" for all migrated as well as Active data sets (i,e, records type DCURCTYP = D or M) that are present on the DCOLLECT output.

when I run my report program..I'm getting DATA exception errors. here is the declaration that I used
DCDDSNAM -> Data set name, starts at 25th position, Alpha numeric.
DCDALLSP -> Space allocated,start at 89th position, Packed decimal (i.e. COMP-3 in cobol equivalent)
DCDUSESP -> Space utilized, starts at 93rd position, Packed decimal (i.e. COMP-3 in cobol equivalent).

Is there any otherway that I can read DCOLLECT Output & extract the above 3 fields quickly? Any valid& useful reply is highly appreciated...
Thanks in advance !!
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 Sep 22, 2009 2:44 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Using HEX ON post some info from these data positions from the input you are using.

If your data is variable, remember to add 4 to the starting position. . .
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue Sep 22, 2009 3:28 am    Post subject:
Reply with quote

GOWTHAM,

The DCOLLECT symbols and DCOLLECT examples at the following links might help:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000081#sym

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000081#ex
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 22, 2009 11:18 am    Post subject:
Reply with quote

When I use SAS I define those data fields as binary rather than PD. There is no sign included in the fields.
Back to top
View user's profile Send private message
GOWTHAM

New User


Joined: 01 Apr 2009
Posts: 4
Location: usa

PostPosted: Tue Sep 22, 2009 8:23 pm    Post subject: Reply to: Data exception error while reading DCOLLECT output
Reply with quote

Thanks Frank... your Fields mapping document helped.. I was able to pull my report by converting the DCOLLECT output from VB to FB file in DFSORT...
OPTION COPY,VLSHRT
OUTFIL FNAMES=FBFILE,OUTREC=(1:5,1020),CONVERT

Then pulled the fields that I required by using....
for Active DASD files...
-------------------------
SORT FIELDS=COPY
INCLUDE COND=(5,1,CH,EQ,C'D')
OUTREC FIELDS=(1:25,44,47:89,4,FI,66:93,4,FI)

And for Migrated files...
---------------------------
SORT FIELDS=COPY
INCLUDE COND=(5,1,CH,EQ,C'M')
OUTREC FIELDS=(1:25,44,47:189,4,FI,66:193,4,FI)

Thanks !!!
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 2 Mon Jan 16, 2017 5:08 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 6 Fri Jan 13, 2017 5:02 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am


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