IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FILE Concatenation issue -S0C4


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top