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 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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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