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 Concatenation issue -S0C4

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

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Sat Aug 19, 2006 3:06 pm    Post subject: FILE Concatenation issue -S0C4
Reply with quote

Hi,
There are two cobol programs A and B. Both the programs are OS VS Cobol. A calls B for each record. The input in the JCL is the concatenation of Two datasets.like
//input dd dsn=dataset1
// dd dsn=datset2

This programs works fine in Non-LE. Whereas it gives S0C4 in LE after processing all the records from dataset1 and some records from dataset2.

1)When i merge both the files into one file like dataset3 and i give the input as
//input dd dsn=dataset3, it works fine in LE.
2) If i upgrade the cobol version of program B to E-Cobol, it works fine with input given as
//input dd dsn=dataset1
// dd dsn=datset2


What could be the reason?

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

phetu

New User


Joined: 19 Aug 2006
Posts: 13
Location: Canada

PostPosted: Sat Aug 19, 2006 4:24 pm    Post subject:
Reply with quote

Hi,

Does each of your files has the same BLKSIZE?

Patrick
Back to top
View user's profile Send private message
Aditya Bhardwaj
Warnings : 1

New User


Joined: 02 Nov 2004
Posts: 18
Location: Noida, India

PostPosted: Sun Aug 20, 2006 1:34 am    Post subject: Re: FILE Concatenation issue -S0C4
Reply with quote

Check the value of the BLKSIZE and increase the SPACE for the file. This error in most of the conditions occur for the Virtual Address Not Found.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Mon Aug 21, 2006 7:36 pm    Post subject: Re: FILE Concatenation issue -S0C4
Reply with quote

All the attributes are same for both the files.

FYI... When i upgrade the source to E-CObol.. it works fine...
Why is it not woring when it is OS VS Cobol?
Back to top
View user's profile Send private message
Aditya Bhardwaj
Warnings : 1

New User


Joined: 02 Nov 2004
Posts: 18
Location: Noida, India

PostPosted: Mon Aug 21, 2006 10:51 pm    Post subject: Re: FILE Concatenation issue -S0C4
Reply with quote

One more suggestion in continuation to my previous post. You always try again byt increasing the WorkFiles and their size. In many of the cases this helps.
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 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 Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

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