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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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