Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
File having Junk data and now SOC7

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

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Thu Dec 01, 2011 8:51 pm    Post subject: File having Junk data and now SOC7
Reply with quote

Dear all,

This is my first time to forum and newly entered to Mainframe area.

My problem is my file having a trailor reord like this..>

ZHDEAL .......*20111120

because of this record i am facing soc7 and i cant delete this record this is needed for my file....i have done hex on ..but not sure how to convert this record to alphanumeric .please advice..

Thanks..
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10388
Location: italy

PostPosted: Thu Dec 01, 2011 8:53 pm    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

what does the application documentation tell about the record layout ?
it would be wise to find out why the record contains junk data and fix the process which creates the file.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 01, 2011 9:09 pm    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

Yes, if your program is being fed with this file as input, then go back to where it was created and find out why it contains this junk data.

You shouldn't have to cleanup someone else's mess.

The junk data is probably necessary for account balancing and aggregation, something which can't be bypassed.

Mr. Bill
Back to top
View user's profile Send private message
chandrakanta

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Thu Dec 01, 2011 9:31 pm    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

Thanks..

i am able to solve this...
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Thu Dec 01, 2011 10:39 pm    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

Are you treating the trailer seperately from all the other data, with its own record-layout? As t'other Bill intimates, the information on the trailer you are probably supposed to check against the records that you have read.
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 112
Location: Puerto Rico

PostPosted: Fri Dec 02, 2011 12:21 am    Post subject:
Reply with quote

Good afternoon!

By experience, if you have a trailer record then you will probably have a header record. These records have different formats than your detail records. If you are not doing anything with these records like date verification or verifying the total records in the file then you should bypass it from the beginning.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10388
Location: italy

PostPosted: Fri Dec 02, 2011 12:34 am    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

did anybody notice that the TS said that the problem was solved ?
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: Fri Dec 02, 2011 2:43 am    Post subject: Reply to: FILE HAVING AN JUNK DATA AND GETTING SOC7
Reply with quote

Of course, it would be helpful to know the solution. . .

Might help another with a similar situation one day. . . icon_wink.gif

d
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 Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Append the milliseconds to the data s... girishb2 DFSORT/ICETOOL 1 Thu Dec 21, 2017 9:07 pm
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us