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

Incomplete Spanned Records Overview


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
satmaar
Currently Banned

New User


Joined: 11 Feb 2009
Posts: 16
Location: Bangalore

PostPosted: Thu Aug 19, 2010 5:26 pm
Reply with quote

Please explain the incomplete Spanned Records Creation in DFSORT while processing VBS Files?

Thanks,
Satmaar
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Aug 19, 2010 10:43 pm
Reply with quote

DFSORT does NOT create incomplete spanned records. Other processes can create incomplete spanned records. DFSORT can eliminate the incomplete records with its SPANINC option.
Back to top
View user's profile Send private message
satmaar
Currently Banned

New User


Joined: 11 Feb 2009
Posts: 16
Location: Bangalore

PostPosted: Thu Aug 19, 2010 11:05 pm
Reply with quote

Frank,
Thanks for your reply.Could you please let me know at what circumstances,Incomplete Spanned Records Create?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Aug 19, 2010 11:22 pm
Reply with quote

It usually occurs when a program ABENDS in the middle of writing a spanned record. A spanned record has several parts, so if a program that's writing a spanned record ABENDs, it may only write some of the parts. For example, it could write a beginning segment and a middle segment, but not the ending segment. I don't know enough about it to tell you exactly which product this occurs for or how.
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: Fri Aug 20, 2010 12:40 am
Reply with quote

Hello,

IMHO - it should not be an issue. When a process that is creating an output sequential file abends, this output file should be re-created from the beginning. Whan happened to original output dataset then no longer matters.

If for some reason a file is being MODded onto, a copy of it should be made before the step that specifies MOD and if an abend occurs, the copy should be used for the re-run and again, the output is created from the beginning of the problem run.
Back to top
View user's profile Send private message
satmaar
Currently Banned

New User


Joined: 11 Feb 2009
Posts: 16
Location: Bangalore

PostPosted: Fri Aug 20, 2010 3:07 pm
Reply with quote

Hi Scherrer,

Recently i come across a typical SORT Error when a job trying to copy VBS file to VB File.The message indicates that 'INCOMPLETE SPANNED RECORD DETECTED'.Job ran fine after restart.So i would like to replicate the same error for my testing purpose.Can you help me,to create incomplete spanned records?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Aug 20, 2010 3:35 pm
Reply with quote

Cancel the spanned records creating job ?
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
Search our Forums:

Back to Top