Page 1 of 1

SOC 7 - offset - JCL - Syncsort

PostPosted: Thu Dec 13, 2012 7:58 pm
by mirunalK
All I have is a flat file of length 77 (FB).A record layout in excel sheet.I dont have the program which has created those flat files.
I am converting all those PD fields in the flat file to external decimals.While converting through syncsort I got a SOC7.I have found which PD field among the layout is causing the SOC7 but I couldn't find which among the million records is not a valid PD record which is causing the error.
I have attached the screenshot of the spool dump.
forum post.docx


Generally we find offset in the dump and check that with the compile listing and find out which line in the cobol code has caused the error.

Could some one please tell me how could I find which record is not a valid PD record in that .I believe that instead of valid sign BIT C/D/F it has got some other value and when I try to convert that particular field its causing the trouble.

Re: SOC 7 - offset - JCL - Syncsort

PostPosted: Thu Dec 13, 2012 8:17 pm
by dick scherrer
He3llo and welcome to the forum,

Suggest you contact Syncsort support as they can provide the guidance to "read" their dump.

Another approach might be to pass the file and copy any records with an invalid value to a separate file for analysis.

I suspect there is more to the problem than only a bad sign. I suspect the corruption is more than that.

Re: SOC 7 - offset - JCL - Syncsort

PostPosted: Thu Dec 13, 2012 9:43 pm
by enrico-sorichetti
first ...
do not post attachment, not everybody can look at them
second
do not attach screen shots, it is a useless waste of space
nothing that a plain text cut and paste would not do ( use the code tags )

Re: SOC 7 - offset - JCL - Syncsort

PostPosted: Thu Dec 13, 2012 9:44 pm
by enrico-sorichetti
enrico-sorichetti wrote:first ...
do not post attachment, not everybody can look at them
second
do not attach screen shots, it is a useless waste of space
nothing that a plain text cut and paste would not do ( use the code tags )


and in any case do not use proprietary format,
not everybody uses windoze,

USE PLAIN TEXT

Re: SOC 7 - offset - JCL - Syncsort

PostPosted: Fri Dec 14, 2012 12:42 pm
by mirunalK
oh Sure.. Thanks All :)

Re: SOC 7 - offset - JCL - Syncsort

PostPosted: Fri Dec 14, 2012 6:25 pm
by BillyBoyo
You could see if SynsSort supports NUM in INCLUDE/OMIT/IFTHEN