IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL ERROR - Opernad too Long


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Tue Apr 21, 2020 1:20 pm
Reply with quote

I am sending the file data as an attachment via email through JCL but i am facing operand too long errr @ FILENAME: position , At 72 position i have tried with X,,,- but still i am facin this issue. I have started O.PDF', at 16th column but the issue still persists

Please let us know how to solve this issue

Code:
//JS010   EXEC PGM=IEBGENER,REGION=8M                                   
//*                                                                     
//SYSOUT   DD SYSOUT=*                                                 
//SYSPRINT DD SYSOUT=*                                                 
//SYSUDUMP DD SYSOUT=*                                                 
//*                                                                     
//OUT2  OUTPUT DEST=RMT00697,PAGEDEF=A1FROC,FORMDEF=A1FROC,             
//    TRC=Y,CHARS=(GT15,GT10,PB12),                                     
//*   USERDATA=('TO:DHARMARAO.KATKURI@GMAIL.COM',                       
//    USERDATA=(EMAILPRT,                                               
//    'TO:DHARMARAO.KATKURI@GMAIL.COM',                                 
//    'CC:DHARMARAO.KATKURI@GMAIL.COM',                                 
//    'MAILFROM:DHARMARAO.KATKURI@GMAIL.COM',                           
//    'REPLYTO:DHARMARAO.KATKURI@GMAIL.COM',                           
// 'FILENAME:INR_NBKFGFIT_965676_CHANDRA_SEKHAR_CHINAMANAGONDA_DHARMARA-
//              O.PDF',                                               
//  'FILEDESC: PLEASE FIND ATTACHED A COPY OF THE FORWARDER''S',       
//  'FILEDESC: CARGO RECEIPT FOR YOUR RECORDS.'),                       
//    TITLE='RECIRPT - DRAFT',                                         
//    MAILFROM='DHARMARAO.KATKURI@GMAIL.COM'                           
//*                                                                     
//SYSUT1   DD DSN=TEST.INPUT.FILE,                                     
//            DISP=(OLD,DELETE,DELETE)                                 
//SYSUT2   DD SYSOUT=A,OUTPUT=(*.OUT2)                                 
//SYSIN    DD DUMMY                                                     
//*                                                                     

B[img][/img]
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Tue Apr 21, 2020 3:24 pm
Reply with quote

Code:
USERDATA=(val,val...)

In the above syntax, the following subparameters are used:           
                                                                     
"val" - a 1 to 60 character value the installation defines for its own
        special purposes.  From 1 to 16 values may be specified.     
Back to top
View user's profile Send private message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Tue Apr 21, 2020 3:28 pm
Reply with quote

hi Joerg.

I did not understand what u said
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Tue Apr 21, 2020 5:10 pm
Reply with quote

Your parameter FILENAME:<...> is longer than 60 characters, that's just it. Use a shorter name here.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2011
Location: USA

PostPosted: Wed Apr 22, 2020 7:21 pm
Reply with quote

Joerg.Findeisen wrote:
Your parameter FILENAME:<...> is longer than 60 characters, that's just it. Use a shorter name here.

Likely, the author cannot count to 60?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top