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
 

 

Generating S0C7 through JCL only

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nitin_agr

New User


Joined: 06 Sep 2005
Posts: 28
Location: Minneapolis US

PostPosted: Thu Dec 01, 2005 1:18 pm    Post subject: Generating S0C7 through JCL only
Reply with quote

Hi Frndz;
I have a differnet kind of question but that was asked in an interview, please tell me the answer if anyone have any idea.

Quote:
How can the S0C7 abend be generated/created using any JCL utility only?


I was asked not to use any COBOL module to generate this abend and only to use any JCL Utility to generate.

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

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Thu Dec 01, 2005 2:59 pm    Post subject: S0C7
Reply with quote

hi frnd,

better post ur query in the Interview Questions. and refer some previous forums for this error
use this link

http://ibmmainframes.com/viewtopic.php?p=23267#23267
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Dec 01, 2005 9:32 pm    Post subject:
Reply with quote

Not sure why anyone intentionally wants to force an S0C7, but here's a simple DFSORT job that will do it by summing invalid PD values:

Code:

//S1    EXEC  PGM=ICEMAN             
//SYSOUT    DD  SYSOUT=*             
//SORTIN DD *                       
ABC                                 
CDE                                 
//SORTOUT DD DUMMY                   
//SYSIN    DD    *                   
  SORT FIELDS=(5,1,CH,A)             
  SUM FIELDS=(1,3,PD)               
/*
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S0C7 abend not able to locate Rijit COBOL Programming 8 Wed Apr 01, 2015 4:03 pm
No new posts S0C7 Data Exception Error Niti Srivastava ABENDS & Debugging 4 Mon Feb 23, 2015 5:40 pm
No new posts S0C7 issued on a CALL statement RedDevil711 ABENDS & Debugging 8 Sun Feb 01, 2015 3:57 pm
No new posts Generating an o/p file with dummy i/p... wiprov DFSORT/ICETOOL 2 Wed Sep 10, 2014 6:16 pm
No new posts SUM FIELDS Giving S0C7 Indrajit_57 JCL & VSAM 4 Tue Jul 01, 2014 4:01 pm


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