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
 
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

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