Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IEBGENER is not Creating Member in PDS from PS Dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: IEBGENER is not Creating Member in PDS from PS Dataset
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

Active User


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

PostPosted: Mon Mar 23, 2020 11:54 pm    Post subject:
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    Post subject:
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: 8567
Location: Dubuque, Iowa, USA

PostPosted: Tue Mar 24, 2020 12:04 am    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10701
Location: italy

PostPosted: Tue Mar 24, 2020 12:09 am    Post subject: Reply to: IEBGENER is not Creating Member in PDS from PS Dataset
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    Post subject: IEBGENER is not Creating Member in PDS from PS Dataset Rea
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: 860
Location: The Universe

PostPosted: Tue Mar 24, 2020 3:44 am    Post subject:
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

Active Member


Joined: 29 Apr 2008
Posts: 860
Location: Maryland

PostPosted: Tue Mar 24, 2020 10:07 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Creating additional seqnum/Literal wh... bshkris DFSORT/ICETOOL 4 Wed Oct 21, 2020 9:35 pm
No new posts Creating a single-record file with CO... Joerg.Findeisen DFSORT/ICETOOL 8 Tue Oct 06, 2020 8:19 pm
No new posts Determine what library member is in, ... mdwait JCL & VSAM 9 Thu Jul 23, 2020 3:02 am
No new posts Fetch the Dataset names from inside m... kalyan94 TSO/ISPF 18 Wed Jun 17, 2020 2:06 pm
No new posts Submit Print Job For PDS Member With ... AllenSieracki TSO/ISPF 17 Fri Apr 10, 2020 9:31 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us