【发布时间】:2012-07-13 06:17:00
【问题描述】:
我现在正在学习大型机编程。我得到了一个 tso id 与 Dezhi,我正在使用 PASSPORT 终端模拟器。我的用户是 CATIA81
我上传了一些作业和一个 cobol 程序进行测试。我尝试通过 ISPF COMMAND SHELL 提交作业:
SUBMIT CATIA81.KSDCRTJ1.JCL
我得到以下错误:
SUBMIT cancelled, JOBNAME must start with CATIA81
这就是我所拥有的
//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
/*
//
原来的 JOBNAME 是 KSDDELJ1,我将其更改为 CATIA81KDEL1。 我的错误是什么?
【问题讨论】:
-
您的问题无需提及用户 ID :)
-
您经常这样做,因为您的用户 ID 通常是您的 TSO 前缀,当您不将它们括在引号中时,ISPF 会将其添加到数据集名称中。这在 RACF 违规消息等中也很重要。