Search code examples
submitmainframejcltso

SUBMIT JOB IN TSO ERROR


I am learning mainframe programming now. I got a tso id with Dezhi and I am using PASSPORT terminal emulator.My user is CATIA81

I uploaded a few jobs and a cobol program to test. I tried to submit a job through the ISPF COMMAND SHELL:

 SUBMIT CATIA81.KSDCRTJ1.JCL 

AND I GET THE FOLLOWING ERROR:

 SUBMIT cancelled, JOBNAME must start with CATIA81

This is what I have

    //CATIA81KDEL1 JOB CSBL81,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1
    //* *******************************************************************
    //*        This program is provided by: SimoTime Enterprises          *
    //*           (C) Copyright 1987-2012 All Rights Reserved             *
    //*             Web Site URL:   http://www.simotime.com               *
    //*                   e-mail:   helpdesk@simotime.com                 *
    //* *******************************************************************
    //* Subject: JCL to delete a VSAM Data Set using the IDCAMS Utility   *
    //* Author:  SimoTime Enterprises                                     *
    //* Date:    January 1, 1998                                          *
    //*-------------------------------------------------------------------*
    //* The following example is more than what is usually required to    *
    //* delete a VSAM Data Set. However, the purpose is to illustrate the *
    //* functions of the IDCAMS utility.                                  *
    //*********************************************************************
    //*
    //         EXEC PGM=IDCAMS
    //SYSPRINT DD  SYSOUT=*
    //SYSIN    DD  *
      DELETE    CATIA81.DATA.VKSD0080   -
                FILE (VKSD0080)          -
                PURGE                    -
                ERASE                    -
                CLUSTER
      SET       MAXCC = 0
     /*
    //

The orginal JOBNAME was KSDDELJ1, which I altered to CATIA81KDEL1. What was(were) my mistake(s)?


Solution

  • Job names can be no longer than 8 characters, change the job name from CATIA81KDEL1 to CATIA81K