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
 

 

SOC 4 in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
PRV

New User


Joined: 16 Apr 2009
Posts: 15
Location: Pune

PostPosted: Sat Apr 18, 2009 9:15 pm    Post subject: SOC 4 in Easytrieve
Reply with quote

Hi,
In my easytrieve pgm.
I have 1 VB blk file of length 10620.In this file starting from posn 315 spanning 10301 i have group of data.
I have declared the working storage variable with length 10301.
HMX W 10301 A.
And I am moving group data to the working storage variable.
and finally trying to copy same data into output file.
After copying some data into output file I am getting SOC 4 .
*******A006 PROGRAM INTERRUPT - CODE 4 (PROTECTION EXCP)
Can anybody suggest me the solution for this ?

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

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sat Apr 18, 2009 9:26 pm    Post subject:
Reply with quote

Quote:
Can anybody suggest me the solution for this ?
Suggest, yes.....
Usually this could be caused by reading/writing file data while the file is closed/not opened successfully.
Did you get a manual?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Apr 18, 2009 9:48 pm    Post subject:
Reply with quote

Hello,

This might also occur if the data in the file does not match the file definition. Does the file contain a variable length repeating group?

As suggested, you need the documentation (available for free from CA Support if your organization is icensed to use the product).

For anyone here to be able to help you need to post the relevant Easytrieve code (file layout and code referencing the file), the idcams vsam file definition, and the jcl from the problem run.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm


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