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

Generating S0C7 through JCL only


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 677
Location: NJ

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

hi frnd,

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

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

DFSORT Developer


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

PostPosted: Thu Dec 01, 2005 9:32 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts S0C7 abend while running a Cobol Program COBOL Programming 2
No new posts S0C7 abend not able to locate COBOL Programming 8
No new posts S0C7 Data Exception Error ABENDS & Debugging 4
No new posts S0C7 issued on a CALL statement ABENDS & Debugging 8
Search our Forums:

Back to Top