View previous topic :: View next topic
|
Author |
Message |
chandrakanta
New User
Joined: 28 Nov 2011 Posts: 11 Location: india
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
chandrakanta
New User
Joined: 28 Nov 2011 Posts: 11 Location: india
|
|
|
|
Thanks..
i am able to solve this... |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
did anybody notice that the TS said that the problem was solved ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Of course, it would be helpful to know the solution. . .
Might help another with a similar situation one day. . .
d |
|
Back to top |
|
|
|