John Norgauer wrote:
Here's my error:

    10 //PS082   EXEC PGM=BPXBATCH,
 //********************************************************************
       // PARM='SH echo sftp -b /u/bpxbatch/mccheckftp
       //             fis-depot-test.ucdavis.edu |su -s bpxbtch'
    11 //SYSPRINT  DD SYSOUT=*
    12 //STDOUT    DD SYSOUT=*
    13 //STDERR    DD SYSOUT=*
MT NO. MESSAGE

    10 IEF642I EXCESSIVE PARAMETER LENGTH IN THE PARM FIELD

Thanks.


John Norgauer
University of California Davis Medical Center
2315 Stockton Blvd
ASB 1300
Sacramento, Ca 95817
916-734-0536

 SYSTEMS PROGRAMMING......  Guilty, until proven innocent !! "    JN  2004
........
"Hardware eventually breaks - Software eventually works"      anon
........

Try without any excess spaces in the first PARM line, maybe:

// PARM='SH echo sftp -b /u/bpxbatch/mccheck ftpfis-depot-test.ucdavis.edu |su
//             -s bpxbtch'

Those trailing spaces you had in the first line count against your
100 limit. You can even break up a parameter in mid-string if your
data needs it; but the above should work.

Alternatively, you can define SET symbols and concatenate them.


//   SET  PART1='/u/bpxbatch/mccheck'
//   SET  PART2=' ftpfis-depot-test.ucdavis.edu '
//   SET  PART3=' | su -s bpxbtch'
//PS082   EXEC PGM=BPXBATCH,PARM=&PART1&PART2&PART3



Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.html    <==

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