Page 1 of 1

1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 4:57 am
by dn2012
Hello,

I am trying to create QSAM file as below:
But getting message in output file as

1 IEFC662I INVALID LABEL

//**********Create and populate a new QSAM file************************
//*                                                                   
//CONCATS2 EXEC PGM=IEBGENER                                           
//SYSPRINT DD  SYSOUT=*                                               
//SYSIN    DD  DUMMY                                                   
//* :....1....:....2....:....3....:....4....:....5....:....6....:....7.
//SYSUT1   DD  *                                                       
00011 File-001, Record-001                                             
00021 File-001, Record-002                                             
00031 File-001, Record-003                                             
/*                                                                     
//SYSUT2   DD  DSN=TSSDN.DATA.CONCATD1,           
//             DISP=(NEW,CATLG,DELETE),           
//             STORCLAS=MFI,                     
//             SPACE=(TRK,5),                     
//             DCB=(RECFM=FB,LRECL=80,DSORG=PS)   
//*                                               


Thanks for ur help

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 5:22 am
by Robert Sample
What UNIT is being assigned, since your JCL doesn't include one?

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 5:24 am
by BillyBoyo
Please show the JESJCL and JESYSMSG from your job.

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 5:36 am
by dn2012
JESJCL


     //***THE IEBGENER UTILITY: GENERATE (COPY) A SEQUENTIAL DATA SET******
     //*                                                                   
     IEFC025I INSTALLATION MODIFIED JCL - //TSSDNFIl JOB (H1345011000,110,0
     JOB19746                                                             
   2 //CONCATS2 EXEC PGM=IEBGENER                                         
   3 //SYSPRINT DD  SYSOUT=*                                               
   4 //SYSIN    DD  DUMMY                                                 
     //* :....1....:....2....:....3....:....4....:....5....:....6....:....7
   5 //SYSUT1   DD  *                                                     
   6 //SYSUT2   DD  DSN=TSSDN.DATA.CONCATD1,                               
 5 //SYSUT1   DD  *                               
 6 //SYSUT2   DD  DSN=TSSDN.DATA.CONCATD1,       
   //             DISP=(NEW,CATLG,DELETE),       
   //             STORCLAS=MFI,                   
   //             SPACE=(TRK,5),                 
   //             DCB=(RECFM=FB,LRECL=80,DSORG=PS)
   //*                                           


JESMSGLG
16.19.43 JOB19746 ---- WEDNESDAY, 02 MAY 2012 ----                           
16.19.43 JOB19746  IEFC452I INVALID - JOB NOT RUN - JCL ERROR  204           
------ JES2 JOB STATISTICS ------                                             
           25 CARDS READ                                                     
           37 SYSOUT PRINT RECORDS                                           
            0 SYSOUT PUNCH RECORDS                                           
            3 SYSOUT SPOOL KBYTES                                             
         0.00 MINUTES EXECUTION TIME                                         
******************************** BOTTOM OF DATA ******************************
                                                                             

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 6:15 am
by steve-myers
What does the manual say? FWIW, the IEFC452I message gives it away if you look at the message carefully and think about its contents for about 5 seconds.

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 12:12 pm
by BillyBoyo
You've managed to move on to a different message. Think what it was that changed in that time. Look up both messages. You can do this easily on the web using IBM's LookAt http://www-03.ibm.com/systems/z/os/zos/bkserv/lookat/. If you look at the JCL card number you have for each of the messages, you'll see it is for the one line of JCL you haven't shown.

Get the rest of it yourself, and count it progress.

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 8:12 pm
by dn2012
I changed the class and it work.
It was 'A' before . We used for our production.

Re: 1 IEFC662I INVALID LABEL

PostPosted: Thu May 03, 2012 9:56 pm
by gokulNmf
can u post JESYSMSG?