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
 

 

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: 10274
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: 2502
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: 7315

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: 110
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: 10274
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 SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 1 Wed Jul 26, 2017 2:10 am
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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