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:[email protected]',                       
//    USERDATA=(EMAILPRT,                                               
//    'TO:[email protected]',                                 
//    'CC:[email protected]',                                 
//    'MAILFROM:[email protected]',                           
//    'REPLYTO:[email protected]',                           
// '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='[email protected]'                           
//*                                                                     
//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: 1427
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: 1427
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: 2263
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts Use of long filenames with GDKUTIL ut... IBM Tools 3
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
Search our Forums:


Back to Top