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

IEBGENER is not Creating Member in PDS from PS Dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Mon Mar 23, 2020 11:50 pm
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


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

PostPosted: Mon Mar 23, 2020 11:54 pm
Reply with quote

Show the failing statement please. Use code tags.
Back to top
View user's profile Send private message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Mon Mar 23, 2020 11:56 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Mar 24, 2020 12:04 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Tue Mar 24, 2020 12:09 am
Reply with quote

IEBGENER is not creating a member because the job did not even start
Back to top
View user's profile Send private message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Tue Mar 24, 2020 12:10 am
Reply with quote

thank you! on the bright side, I landed on the correct place i.e. that this forum,
thank you!
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Tue Mar 24, 2020 3:44 am
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2144
Location: USA

PostPosted: Tue Mar 24, 2020 10:07 pm
Reply with quote

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
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 batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts Reading Empty Dataset DFSORT/ICETOOL 5
No new posts Mainframe Dataset Binary or ASCII Mainframe Interview Questions 4
No new posts SPOOL to Mainframe dataset in batch mode JCL & VSAM 7
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top