View previous topic :: View next topic
|
Author |
Message |
ShovitBastakoti
New User
Joined: 31 Mar 2022 Posts: 3 Location: Canada
|
|
|
|
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 |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1335 Location: Bamberg, Germany
|
|
|
|
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 |
|
|
ShovitBastakoti
New User
Joined: 31 Mar 2022 Posts: 3 Location: Canada
|
|
|
|
I have tried removing all commas,
and putting comma on first two dd statements only
nothing works |
|
Back to top |
|
|
ShovitBastakoti
New User
Joined: 31 Mar 2022 Posts: 3 Location: Canada
|
|
|
|
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 |
|
|
|