Adding members with IDENT's



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Adding members with IDENT's

Postby magik5 » Mon Mar 10, 2008 11:55 pm

Hello, I need a little help on an assignemnt I have been working on. I am trying to add two members using IDENT clauses. I thouhg tI had everything square, but I return and error code of 12. So I ask for a little help here is my code..
//*
//*-------------------------------------------------------------------*//
//*                                                                   *//
//*  Add 2 members                                                    *//
//*                                                                   *//
//*                                                                   *//
//*-------------------------------------------------------------------*//
//*
//PDCREATE EXEC PGM=IEBGENER
//SYSPRINT DD  SYSOUT=*
//SYSUT1   DD  *
James Blunt
Shakira
Christina A.
K-Fed
Limp B.
Vanilla Ice
/*
//SYSUT2   DD  DSN=MARLEY,
//             DISP=OLD
//SYSIN    DD  *
 GENERATE MAXNAME=2,                                                  *
          MAXGPS=1
 MEMBER NAME=WEBE
 RECORD IDENT=(12,'Christina A.',1)
 MEMBER NAME=JAMMIN
/*

I'm adding two member 'WEBE' and 'JAMMIN' to my library 'MARLEY'. 'WEBE' ends with 'Christina A.', and 'JAMMIN' starts with 'K-Fed'. When I run my code, I get this error...and I've looked up the code 338, but I don't think I can still figure out what's wrong...errors,
!! END OF JES SPOOL FILE !!
1DATA SET UTILITY - GENERATE                                                                       PAGE 0001             
- GENERATE MAXNAME=2,                                                  *                                                 
           MAXGPS=1                                                                                                     
  MEMBER NAME=WEBE                                                                                                       
  RECORD IDENT=(12,'Christina A.',1)                                                                                     
 IEB338I     INVALID PARAMETER IN COL. 16                                                                               
  MEMBER NAME=JAMMIN                                                                                                     
 !! END OF JES SPOOL FILE !!


any help would be greatly apperciated !! thanks to all - Justin.
magik5
 
Posts: 8
Joined: Tue Feb 19, 2008 12:17 am
Has thanked: 0 time
Been thanked: 0 time

Re: Adding members with IDENT's

Postby arunprasad.k » Tue Mar 11, 2008 5:25 pm

Justin, Your code is good expect a minor issue.

IBM Manual Says:
The length of your identifier cannot be greater than eight.


Refer the link.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/6.8.2.5?SHELF=&DT=19990113105507&CASE=

Post if you still face some problem. Arun.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Adding members with IDENT's

Postby magik5 » Tue Mar 11, 2008 7:02 pm

Thanks !!

I read that and I thought that was talking about the meber name, but I fixed my IDENT and everything works great now. !!
//SYSIN    DD  *
 GENERATE MAXNAME=2,                                                  *
          MAXGPS=1
 MEMBER NAME=WEBE
 RECORD IDENT=(8,'Christin',1)
 MEMBER NAME=JAMMIN


Thanks again - Justin.
magik5
 
Posts: 8
Joined: Tue Feb 19, 2008 12:17 am
Has thanked: 0 time
Been thanked: 0 time

Re: Adding members with IDENT's

Postby arunprasad.k » Tue Mar 11, 2008 8:18 pm

You are welcome. Arun.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post