View previous topic :: View next topic
|
Author |
Message |
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
Hi All, Good day, I am trying to create a member inf PSD from PS file USING IEBGENER. But it shows JCL error, IEFC452I COPMEM - JOB NOT RUN - JCL ERROR 822. please find attached SS for more reference
please assist. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Show the failing statement please. Use code tags. |
|
Back to top |
|
|
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
Code: |
1 //COPMEM JOB CLASS=A,NOTIFY=&SYSUID,MSGCLASS=A,MSGLEVEL(2,1)
IEFC653I SUBSTITUTION JCL - CLASS=A,NOTIFY=Z56117,MSGCLASS=A,MSGLEVEL(
2 //STEP010 EXEC PGM=IEBGENER
3 //SYSUT1 DD DSN=Z56117.SANDEEP.IEBGENER.PS,DISP=SHR
4 //SYSUT2 DD DSN=Z56117.SANDEEP.IEBGENER.PDS,DISP=SHR
5 //SYSPRINT DD SYSOUT=*
6 //SYSOUT DD SYSOUT=*
7 //SYSIN DD *
STMT NO. MESSAGE
1 IEFC006I POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE KEYWORD PARAME |
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
MSGLEVEL requires an equal sign before the left parenthesis. The system is telling you that without the equal sign, MSGLEVEL is considered a positional parameter and hence is not in the right place (that is, BEFORE all the keyword parameters that do have an equals sign in them). |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
IEBGENER is not creating a member because the job did not even start |
|
Back to top |
|
|
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
thank you! on the bright side, I landed on the correct place i.e. that this forum,
thank you! |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
The second problem is the the DSNAME parameter on the DD statement with DD name SYSUT2 does not also specify the member name of the member you want to create. This, of course, assumes Z56117.SANDEEP.IEBGENER.PDS exists. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2144 Location: USA
|
|
|
|
Code: |
//SYSUT2 DD DSN=Z56117.SANDEEP.IEBGENER.PDS(member),DISP=SHR |
can be used with DISP=SHR only if DSNTYPE=LIBRARY.
With DSORG=PO some unpredictable results can be expected when the same DSN is really shared between users/jobs.
In general, I recommend to start with RTFM, RTFM, RTFM, and RTFM... |
|
Back to top |
|
|
|