Re: Submitting job using ReXX

2006-05-01 Thread Wade Curry
Tim Hare([EMAIL PROTECTED])@Sun, Apr 30, 2006 at 08:30:52AM -0400:
  //S2C9011   JOB (S2C9,XX,TI),'', 
  // MSGCLASS=T, 
  // NOTIFY=SYSUID, 
  //*TYPRUN=SCAN, 
  // CLASS=X 
  //* 
  //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
  //* 
  //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR 
  // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR 
  //* 
 
 I don't see a comma after the first JOBLIB DD statement.  I
 think that is what matches this error message you received:
  The JESYSMSG in the spool says EXPECTED CONTINUATION NOT
  RECEIVED
 
 Sorry, Wade - that's incorrect. You don't put commas between two
 DD statements, they are two independent statements. A comma at
 the end of the line is used to indicate continuation of one
 statement.
 
 The error message means, essentially,  that somewhere a new
 statement starts before the old one completed. If MSGLEVEL=(1,1)
 usually you can look through the JESJCL listing for the statement
 mentioned in the error message and quickly determine that it has
 a comma after the last parameter, and that there's a JCL
 statement (DD, EXEC, OUTPUT, etc.) after it.
 

Heh... thank you for a gracious correction, Tim.  A case of
neuro-synaptic flatulence on my part.  I'm not very experienced
yet, but I know better.  oops.


Wade Curry
Sr. Implementation Mgr
ATT Services, Inc. 

--
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


Re: Submitting job using ReXX

2006-05-01 Thread Chase, John
 -Original Message-
 From: IBM Mainframe Discussion List On Behalf Of Wade Curry
 
 Rashmi Nijaguni [EMAIL PROTECTED], Apr 26, 2006 at 03:39:07PM +0530:
 
  The job looks something like this:
 
  //S2C9011   JOB (S2C9,XX,TI),'',
  // MSGCLASS=T,  
  // NOTIFY=SYSUID,  
  //*TYPRUN=SCAN, 
  // CLASS=X  
  //* 
  //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
  //* 
  //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   
  // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR
  //* 
 
 I don't see a comma after the first JOBLIB DD statement.  I 
 think that is what matches this error message you received:
  The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

No, that's a concatenation, not a continuation.  The EXPECTED
CONTINUATION NOT RECEIVED message would be appropriate there if a comma
was PRESENT after the first dataset name.

Somewhere else in the jobstream is a comma that should not be there, or
a continuation is missing after a statement that ends in a comma.

-jc-

--
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


Re: Submitting job using ReXX

2006-04-30 Thread Tim Hare
 //S2C9011   JOB (S2C9,XX,TI),'', 
 // MSGCLASS=T, 
 // NOTIFY=SYSUID, 
 //*TYPRUN=SCAN, 
 // CLASS=X 
 //* 
 //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
 //* 
 //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR 
 // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR 
 //* 

I don't see a comma after the first JOBLIB DD statement.  I think
that is what matches this error message you received:
 The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

Sorry, Wade - that's incorrect. You don't put commas between two DD 
statements, they are two independent statements. A comma at the end of the 
line is used to indicate continuation of one statement.

The error message means, essentially,  that somewhere a new statement 
starts before the old one completed. If MSGLEVEL=(1,1) usually you can 
look through the JESJCL listing for the statement mentioned in the error 
message and quickly determine that it has a comma after the last 
parameter, and that there's a JCL statement (DD, EXEC, OUTPUT, etc.) after 
it.


Tim Hare
Senior Systems Programmer
Florida Department of Transportation
(850) 414-4209

--
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


Re: Submitting job using ReXX

2006-04-30 Thread Chris Mason
Rashmi,

I haven't been keeping up with the latest developments in JCL for, well,
about 10 years or so now so I just assumed someone at the coal face would
find the answer to this thread quite quickly. However this issue has been
raging since Wednesday and still no resolution has been provided.

When I saw the suggestion that there should be a comma between concatenated
DD statements, I reassessed my relative level of competence in this area.

Of course, I could be quite wrong and the problem could lie elsewhere but I
personally, with my very limited knowledge of matters JCL, would never have
thought it could be possible to put a comment in the middle of a set of
cards - sorry, 80-byte records - making up a JCL statement for fear of
provoking an error message of some sort such as maybe EXPECTED CONTINUATION
NOT RECEIVED.

Thus I would remove //*TYPRUN=SCAN, and try again.

Chris Mason

P.S. My introduction to JCL was some almost 39 years ago. I had to arrange
to submit, via van-based remote job entry, a compile and go job to calculate
some reaction diagrams in a physical chemistry project. I went to the
relevant office, was handed a coding form marked with gibberish and told to
punch up the cards and stick them on the front of the program and data - and
don't ask what those cards mean!

- Original Message - 
From: Tim Hare [EMAIL PROTECTED]
Newsgroups: bit.listserv.ibm-main
To: IBM-MAIN@BAMA.UA.EDU
Sent: Sunday, 30 April, 2006 2:30 PM
Subject: Re: Submitting job using ReXX


  //S2C9011   JOB (S2C9,XX,TI),'',
  // MSGCLASS=T,
  // NOTIFY=SYSUID,
  //*TYPRUN=SCAN,
  // CLASS=X
  //*
  //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
  //*
  //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR
  // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR
  //*

 I don't see a comma after the first JOBLIB DD statement.  I think
 that is what matches this error message you received:
  The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

 Sorry, Wade - that's incorrect. You don't put commas between two DD
 statements, they are two independent statements. A comma at the end of the
 line is used to indicate continuation of one statement.

 The error message means, essentially,  that somewhere a new statement
 starts before the old one completed. If MSGLEVEL=(1,1) usually you can
 look through the JESJCL listing for the statement mentioned in the error
 message and quickly determine that it has a comma after the last
 parameter, and that there's a JCL statement (DD, EXEC, OUTPUT, etc.) after
 it.


 Tim Hare
 Senior Systems Programmer
 Florida Department of Transportation
 (850) 414-4209

--
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


Submitting job using ReXX

2006-04-30 Thread Rick Fochtman
Make certain that the operands in the second and subsequent lines of the JOB
statement start IN OR BEFORE column 16. If theyn start after column 16, they are
treated as comments. That's also why the NOTIFY fails, as well.


 The job looks something like this:

 //S2C9011   JOB (S2C9,XX,TI),'',
 // MSGCLASS=T,
 // NOTIFY=SYSUID,
 //*TYPRUN=SCAN,
 // CLASS=X
 //*
 //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
 //*
 //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR
 // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR
 //*

I don't see a comma after the first JOBLIB DD statement.  I think
that is what matches this error message you received:
 The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED



---
[This E-mail has been scanned for viruses by the YourNet Connection Virus 
system]
[For more information, please go to http://www.ync.net/YourMAIL]

--
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


Re: Submitting job using ReXX

2006-04-30 Thread Smith, Sean M
How come this thread is still active?  The response below is the same
solution that I have encountered the past.  You can not have special
characters that the File Tailoring will try to process like .

Sean

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Beesley, Paul
Sent: Wednesday, April 26, 2006 3:23 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Submitting job using ReXX

The file tailoring ( FTINCL ) is failing so the job is only partially
submitted.
FT doesn't like special characters like  and , so either remove your
comments or I think you can code  which will get interpreted as .
Check the ISPF manuals... 


Paul 

--
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


Re: Submitting job using ReXX

2006-04-28 Thread Wade Curry
Rashmi Nijaguni Mogali([EMAIL PROTECTED])@Wed, Apr 26, 2006 at 03:39:07PM +0530:

 The job looks something like this:

 //S2C9011   JOB (S2C9,XX,TI),'',
 // MSGCLASS=T,  
 // NOTIFY=SYSUID,  
 //*TYPRUN=SCAN, 
 // CLASS=X  
 //* 
 //PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)
 //* 
 //JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   
 // DD DSN=PODBM.SCIC.RESLIB,DISP=SHR
 //* 

I don't see a comma after the first JOBLIB DD statement.  I think
that is what matches this error message you received:
 The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED


 Also I am not getting the notification messages.
Not sure what's causing the NOTIFY statement to be ignored.  Is it
possible that you have told ISPF to block your broadcast messages,
holding them for later?

My response is not as deep and complex as the other answers you've
received, but then neither am I. ;-)


Wade Curry
Sr. Implementation Mgr
ATT Services, Inc.
San Diego, CA

--
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


Submitting job using ReXX

2006-04-26 Thread Rashmi Nijaguni Mogali
Hi all,



This is the first time I am coding in ReXX.

I need to submit a job using my Rexx program.

The job looks something like this:

//S2C9011   JOB (S2C9,XX,TI),'',

// MSGCLASS=T,  

// NOTIFY=SYSUID,  

//*TYPRUN=SCAN, 

// CLASS=X  

//* 

//PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)

//* 

//JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   

// DD DSN=PODBM.SCIC.RESLIB,DISP=SHR

//* 

//TPM01010 EXEC TPM01010, 

// SO=T,  - OUTPUT DSN MODE(T=TEST)  

// APPL=SSE,  - INPUT APPLICATION

// JOB=SSE011,- INPUT JOB ID 

// PERM=TESTDA,   - PERM DASD MODE   

// DBCTL=SCIC,- BMP MODE (SCIC=TEST) 

// MDAID=SCIC,- MDALIB   (SCIC=TEST) 

// CNTLIB=PROD- CNTL LIB MODE(TEST=TEST) 

//



The location of this JCL is TEST.JCL.LIB(TSSE011).

I am coding the Rexx program in the following way:

/* SUBMIT JOB PROCEDURE */   

SUBMIT_JOB:  

   USER = USERID()   

   NOTIFY = USER 

   ADDRESS ISPEXEC   

   LIBDEF ISPSLIB DATASET ID ('TEST.JCL.LIB')  

   /* SUBMIT JOB TSSE011 */  

   IF J1=S THEN DO   

  FTOPEN TEMP  

  FTINCL TSSE011   

  FTCLOSE  

  VGET ZTEMPF  

  EDIT DATASET('ZTEMPF') 

  ADDRESS TSO SUBMIT 'ZTEMPF'

   END   

RETURN   



The job is getting submitted but the procedure is not getting executed.

The JESJCL entry in spool displays the following:

//S2C9011   JOB (S2C9,XX,TI),'',

// MSGCLASS=T,  

// NOTIFY=,  

//*TYPRUN=SCAN, 

// CLASS=X  

//* 

//PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)

//* 

//JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   

// DD DSN=PODBM.SCIC.RESLIB,DISP=SHR

//* 

//TPM01010 EXEC TPM01010, 



The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

Also I am not getting the notification messages.

Any pointers would be most useful.



Thanks and Regards,

Rashmi



 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

--
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


Re: Submitting job using ReXX

2006-04-26 Thread Beesley, Paul
The file tailoring ( FTINCL ) is failing so the job is only partially
submitted.
FT doesn't like special characters like  and , so either remove your
comments or I think you can code  which will get interpreted as .
Check the ISPF manuals... 


Paul 

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Rashmi Nijaguni Mogali
Sent: 26 April 2006 11:09
To: IBM-MAIN@BAMA.UA.EDU
Subject: Submitting job using ReXX

Hi all,




This is the first time I am coding in ReXX.

I need to submit a job using my Rexx program.

The job looks something like this:

//S2C9011   JOB (S2C9,XX,TI),'',


// MSGCLASS=T,  


// NOTIFY=SYSUID,  


//*TYPRUN=SCAN, 


// CLASS=X  


//* 


//PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)


//* 


//JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   


// DD DSN=PODBM.SCIC.RESLIB,DISP=SHR


//* 


//TPM01010 EXEC TPM01010, 


// SO=T,  - OUTPUT DSN MODE(T=TEST)  


// APPL=SSE,  - INPUT APPLICATION


// JOB=SSE011,- INPUT JOB ID 


// PERM=TESTDA,   - PERM DASD MODE   


// DBCTL=SCIC,- BMP MODE (SCIC=TEST) 


// MDAID=SCIC,- MDALIB   (SCIC=TEST) 


// CNTLIB=PROD- CNTL LIB MODE(TEST=TEST) 


//




The location of this JCL is TEST.JCL.LIB(TSSE011).

I am coding the Rexx program in the following way:

/* SUBMIT JOB PROCEDURE */   


SUBMIT_JOB:  


   USER = USERID()   


   NOTIFY = USER 


   ADDRESS ISPEXEC   


   LIBDEF ISPSLIB DATASET ID ('TEST.JCL.LIB')  


   /* SUBMIT JOB TSSE011 */  


   IF J1=S THEN DO   


  FTOPEN TEMP  


  FTINCL TSSE011   


  FTCLOSE  


  VGET ZTEMPF  


  EDIT DATASET('ZTEMPF') 


  ADDRESS TSO SUBMIT 'ZTEMPF'


   END   


RETURN   





The job is getting submitted but the procedure is not getting executed.

The JESJCL entry in spool displays the following:

//S2C9011   JOB (S2C9,XX,TI),'',


// MSGCLASS=T,  


// NOTIFY=,  


//*TYPRUN=SCAN, 


// CLASS=X  


//* 


//PROCLIB JCLLIB ORDER=(PROD.PROC.LIB,PROD.PROC.LIB)


//* 


//JOBLIB   DD DSN=POITS.BATPROD.LOAD,DISP=SHR   


// DD DSN=PODBM.SCIC.RESLIB,DISP=SHR


//* 


//TPM01010 EXEC TPM01010, 





The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

Also I am not getting the notification messages.

Any pointers would be most useful.




Thanks and Regards,

Rashmi



 CAUTION - Disclaimer * This e-mail
contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the
use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further,
you are not to copy, disclose, or distribute this e-mail or its contents
to any other person and any such actions are unlawful. This e-mail may
contain viruses. Infosys has taken every reasonable precaution to
minimize this risk, but is not liable for any damage you may sustain as
a result of any virus in this e-mail. You should carry out your own
virus checks before opening the e-mail or attachment. Infosys reserves
the right to monitor and review the content of all messages sent to or
from this e-mail address. Messages sent to or from this e-mail address
may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

--
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

Re: Submitting job using ReXX

2006-04-26 Thread Terry Sambrooks
Hi Rashmi,

In response to your query:

I need to submit a job using my Rexx program.

The job looks something like this:

//S2C9011   JOB (S2C9,XX,TI),'',
// MSGCLASS=T,  
// NOTIFY=SYSUID,  
//*TYPRUN=SCAN, 
// CLASS=X   

...

I am coding the Rexx program in the following way:

/* SUBMIT JOB PROCEDURE */   
SUBMIT_JOB:  
   USER = USERID()   
   NOTIFY = USER 
   ADDRESS ISPEXEC   

If the only substitution that File Tailoring is being used for, then an 
alternative would be to dynamically allocate the INTRDR, and use EXECIO to read 
the job from the library and write it direct to the Internal Reader. This way 
the SYSUID value should be correctly resolved.

Obviously if the plan is to introduce more sophisticated tailoring of the JCL 
then FT is the appropriate vehicle.   

Kind regards - Terry


Terry Sambrooks
Director
KMS-IT Limited
228 Abbeydale Road South
Dore
Sheffield
S17 3LA
UK

Tel: +44 (0)114 262 0933
WEB:
www.legac-e.co.uk
www.kmsitltd.co.uk

Reg: England  Wales 3767263 at the above address

All outgoing E-mails are scanned but it remains the recipients responsibility 
to ensure that their system is protected from viruses, trojans, worms, and 
spy-ware.

--
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


Re: Submitting job using ReXX

2006-04-26 Thread Shmuel Metz (Seymour J.)
In
[EMAIL PROTECTED],
on 04/26/2006
   at 03:39 PM, Rashmi Nijaguni Mogali [EMAIL PROTECTED]
said:

This is the first time I am coding in ReXX.

It's not a REXX issue.

The job is getting submitted but the procedure is not getting
executed.

Read the description of file tailoring skeletons in the ISPF
documentation. You need to escape out any special characters that
would otherwise have special significance to FT.

I don 't see why you are usijng Filoe Tailoring at all; it appears as
though the only substitution you want is to be performed by the C/I.
Wouldn't

 address TSO SUBMIT 'TEST.JCL.LIB(TSSE011)'

do what you want?

// NOTIFY=, 

Presumably because there is no ISPF variable called SYSUID.

//TPM01010 EXEC TPM01010,

Is that really the last line displayed?

The JESYSMSG in the spool says EXPECTED CONTINUATION NOT RECEIVED

Where? And what's in the temporary file that you submit?

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
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