Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL ERROR - Opernad too Long

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL ERROR - Opernad too Long
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: 342
Location: Bamberg, Germany

PostPosted: Tue Apr 21, 2020 3:24 pm    Post subject:
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    Post subject:
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: 342
Location: Bamberg, Germany

PostPosted: Tue Apr 21, 2020 5:10 pm    Post subject:
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: 860
Location: Maryland

PostPosted: Wed Apr 22, 2020 7:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... arunn SYNCSORT 10 Sun Oct 04, 2020 4:10 pm
No new posts Easytrieve EZABX007 with error code 0... Carol Schablow CA Products 7 Thu Sep 24, 2020 3:30 am
No new posts SARBCH REPORT DD writing error kris_madras CA Products 1 Tue Sep 15, 2020 4:22 pm
No new posts EIBRESP =16 & EIBRESP2 = 01 while... Farheen CICS 4 Mon Aug 24, 2020 2:05 pm
This topic is locked: you cannot edit posts or make replies. issue with Syntax error shub2204 SYNCSORT 2 Wed Aug 12, 2020 3:11 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us