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 SIGNAL ON HALT issue packerm CLIST & REXX 0 Fri Oct 20, 2017 6:56 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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