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
 

 

Soc7 when comparing two diff files with having the same data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
msrinivasa
Warnings : 1

New User


Joined: 31 Jan 2007
Posts: 10
Location: chennai

PostPosted: Mon Feb 26, 2007 12:06 pm    Post subject: Soc7 when comparing two diff files with having the same data
Reply with quote

Hi this is srinivasa rao

I am comparing two diff files with having the same data.while run time I am getting the S0c7.in the COBOL program just I am verifying the field values.ex: ntr-name = mtr-name.
Back to top
View user's profile Send private message

jayant_tibhe

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Mon Feb 26, 2007 12:42 pm    Post subject:
Reply with quote

Vasu,

Have you check with the file format? Or the String size you defined for them?

Please provide the details for that..
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 26, 2007 3:40 pm    Post subject:
Reply with quote

S0C7 is packed numeric data exception, why would you have ntr-name or mtr-name definde as packed data?
Back to top
View user's profile Send private message
msrinivasa
Warnings : 1

New User


Joined: 31 Jan 2007
Posts: 10
Location: chennai

PostPosted: Mon Feb 26, 2007 3:56 pm    Post subject: Reg soc7
Reply with quote

both the files are same formate and record lentha is also same.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 26, 2007 4:10 pm    Post subject:
Reply with quote

That doesn't matter, why don't you look at the dump and see what decimal value has garbage in it?
Back to top
View user's profile Send private message
msrinivasa
Warnings : 1

New User


Joined: 31 Jan 2007
Posts: 10
Location: chennai

PostPosted: Mon Feb 26, 2007 4:26 pm    Post subject:
Reply with quote

Actually iam getting the input files from diff sources. my program is used to ensure that both file will have same data.both the files have diff copy books


code

IF MTF-REFERRAL-ID NOT = MPC-REFERRAL-ID
MOVE 'MTF-REFERRAL-ID' TO EO-FIELD-NAME
MOVE MTF-REFERRAL-ID TO EO-SOURCE-VALUEN
MOVE MPC-REFERRAL-ID TO EO-TARGET-VALUEN
WRITE ERROR-OUT FROM ERROR-LINE-OUT
AFTER ADVANCING 1 LINE
MOVE SPACES TO ERROR-OUT ADD 1 TO WS-NOCOM-CT.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 26, 2007 4:31 pm    Post subject:
Reply with quote

icon_question.gif Did you initialize WS-NOCOM-CT?
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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