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

Active User


Joined: 15 Aug 2015
Posts: 385
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

Active User


Joined: 15 Aug 2015
Posts: 385
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

Active Member


Joined: 29 Apr 2008
Posts: 924
Location: Maryland

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 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
No new posts Getting error while xped JCL & VSAM 10
No new posts can someone please help me in finding... IBM Tools 9
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10
No new posts Easytrieve EZABX007 with error code 0... CA Products 7
Search our Forums:

Back to Top