Portal | Manuals | 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: 277
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: 277
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: 803
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 Force a Return Code and print error m... Rick Ryan SYNCSORT 30 Thu Jun 25, 2020 1:18 am
No new posts An write operation error - ABENDED S0... sandeep prajapati COBOL Programming 4 Sun Apr 12, 2020 12:16 pm
No new posts COBOL program error ENDED AT SVSCJES2... sandeep prajapati COBOL Programming 1 Sat Apr 11, 2020 6:32 pm
No new posts Authorization error on FTP John Poulakos All Other Mainframe Topics 2 Thu Apr 09, 2020 8:31 pm
No new posts Trying to submit COBOL PGM - JCL ERRO... sandeep prajapati JCL & VSAM 5 Tue Mar 24, 2020 11:21 pm

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