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

JCL ERROR ON DD STATEMENT WHEN WRITING TO MEMBER FROM C


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ShovitBastakoti

New User


Joined: 31 Mar 2022
Posts: 3
Location: Canada

PostPosted: Thu Mar 31, 2022 12:29 pm
Reply with quote

I have C program in z/os that writes to two members(ABULUCKY) and(MERPRIMES) some numbers generated from c program. THE JCL to compile the program runs successfully i.e the code is compiled succcesffuly but when i try to run the executable i get error
IEFC452I CRUNA3F - JOB NOT RUN - JCL ERROR 606
IEFC605I UNIDENTIFIED OPERATION FIELD

I have dd statements that correspond to files in C,
1.10 JOB05054 $HASP165 CRUNA3F ENDED AT SVSCJES2 - JCL ERROR CN(INTERNAL)
the C source code works ok however.
The OUPUT1 is another file to write too it can be ignored.
Code:

//CRUNA3F JOB 1,NOTIFY=&SYSUID                           
 //EXECUTE EXEC PGM=LUCKY,PARM=''                         
 //STEPLIB      DD DSN=&SYSUID..ASSIGN2.LOAD,DISP=SHR     
 //OUTPUT1      DD DSN=&SYSUID..ASSIGN2.OUTPUT(EXAMPLE),   
 //ABULUCKY     DD DSN=&SYSUID..ASSIGN2.OUTPUT(ABULUCKY), 
 //MERPRIMES    DD DSN=&SYSUID..ASSIGN2.OUTPUT(MERPRIMES),
 //             OUTLIM=1000,DISP=SHR                       
 //SYSPRINT     DD SYSOUT=*                               

Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1335
Location: Bamberg, Germany

PostPosted: Thu Mar 31, 2022 12:43 pm
Reply with quote

Use the Code button to present code and data! How often does it have to be explained?

Your bug is here:
Code:
//OUTPUT1 DD DSN=&SYSUID..ASSIGN2.OUTPUT(EXAMPLE),
//ABULUCKY DD DSN=&SYSUID..ASSIGN2.OUTPUT(ABULUCKY),
//MERPRIMES DD DSN=&SYSUID..ASSIGN2.OUTPUT(MERPRIMES),

Excessive commas at the End. Best spotted with Open Eyes.
Back to top
View user's profile Send private message
ShovitBastakoti

New User


Joined: 31 Mar 2022
Posts: 3
Location: Canada

PostPosted: Thu Mar 31, 2022 12:58 pm
Reply with quote

I have tried removing all commas,

and putting comma on first two dd statements only
nothing works
Back to top
View user's profile Send private message
ShovitBastakoti

New User


Joined: 31 Mar 2022
Posts: 3
Location: Canada

PostPosted: Thu Mar 31, 2022 1:09 pm
Reply with quote

SOLVED:
changed MERPRIMES TO MERPRIME since only eight letters allowed.


provided this info for all three dd statements rather than only the last DD statement
// OUTLIM=1000,DISP=SHR
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 -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
Search our Forums:

Back to Top