>On Tue, 12 Jun 2007 10:40:37 -0500, Paul Gilmartin 
<[EMAIL PROTECTED]> wrote:

>On Tue, 12 Jun 2007 17:20:09 +0200, Chris Mason wrote:
>
>>Daniel
>Actually, it would be more interesting to know why it was failing
>otherwise.
>
>>Also unfortunately, you didn't post the original error job log which might
>>have thrown some light on what z/OS anyhow thought was wrong.
>>

Hiding the evidence? I did some testing with three versions, they only fail 
when I use SDSF to submit the command and use lowercase characters:

/s ktomiak1,file='some.dataset.name',mem='proctst1'

SDSF did not fold the variable contents into uppercase. Other than PARM and 
PATH* statements, JCL does not comprehend lower case.

These three versions all worked as STARTED procedures, not from a JOB 
though. Only one had IEFRDER. Only the last worked as both a STARTED 
procedure and in a batch job.

//KTOMIAK1 PROC                                 
//IEFPROC EXEC  PGM=IEBGENER                    
//SYSPRINT DD   SYSOUT=A                        
//SYSUT1   DD   DISP=SHR,DSN=&FILE.(&MEM)       
//SYSUT2   DD   SYSOUT=(A,INTRDR),DCB=BLKSIZE=80
//SYSIN    DD   DUMMY                           

//KTOMIAK2 PROC                                  
//IEFPROC EXEC  PGM=IEBGENER                     
//SYSPRINT DD   SYSOUT=A                         
//SYSUT1   DD   DDNAME=IEFREDR                   
//SYSUT2   DD   SYSOUT=(A,INTRDR),DCB=BLKSIZE=80 
//SYSIN    DD   DUMMY                            
//IEFRDER  DD   DISP=SHR,DSN=&FILE.(&MEM)        

//KTOMIAK1 PROC FILE='',MEM=''                   
//IEFPROC EXEC  PGM=IEBGENER                     
//SYSPRINT DD   SYSOUT=A                         
//SYSUT1   DD   DISP=SHR,DSN=&FILE.(&MEM)        
//SYSUT2   DD   SYSOUT=(A,INTRDR),DCB=BLKSIZE=80 
//SYSIN    DD   DUMMY

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to