Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reg: Parameter length more than 80 chars.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
muthukannan

New User


Joined: 03 Aug 2006
Posts: 42
Location: Chennai

PostPosted: Sat Dec 01, 2007 12:59 pm    Post subject: Reg: Parameter length more than 80 chars.
Reply with quote

Hi,


Can anyone guide me how to give the parameter which is having more than 80 chars in length.

e.g.

Code:
//Step1 EXEC PGM=PGMNAME,PARM='12345678909'


This is the normal way of mentioning the parameter. but in my case it is

Code:
//Step1 EXEC PGM=PGMNAME,
                              PARM='123456789099999999999999999999
                                         12312312312313'


In the above case only the first line is read.
can anyone tell me how to make a program to read the whole parameter...


Thanks in advance.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Sat Dec 01, 2007 1:18 pm    Post subject: Reply to: Reg: Parameter length more than 80 chars.
Reply with quote

if I remeber correctly the max parm lenght is 100 bytes..
You can pass the full lenght by

Code:
               
12345678901234567890123456789012345678901234567890123456789012345678901234567890
//        EXEC PGM==pgmname,
//             PARM='....................................',
//             '......................................'


check the continuation column !!
Back to top
View user's profile Send private message
muthukannan

New User


Joined: 03 Aug 2006
Posts: 42
Location: Chennai

PostPosted: Sat Dec 01, 2007 1:36 pm    Post subject: Reg: Parameter length more than 80 chars.
Reply with quote

Hi,


Thanks for the quick reply.

Actually my requirement is that in need to pass around 1000 bytes.
So i can't use this method rite?

Can i use
Code:
//SYSIN DD *
to pass all 1000 bytes?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sat Dec 01, 2007 2:18 pm    Post subject: Reply to: Reg: Parameter length more than 80 chars.
Reply with quote

muthukannan,

Quote:
Actually my requirement is that in need to pass around 1000 bytes.


Your initial post had referred to the PARM parameter and the max length is 100 in the PARM parameter. You cannot pass 1000 bytes of data using PARM.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sat Dec 01, 2007 2:30 pm    Post subject: Reply to: Reg: Parameter length more than 80 chars.
Reply with quote

muthukannan,

Quote:
Can i use Code:
//SYSIN DD *
to pass all 1000 bytes?


If u have declared a variable of length 1000 in your cobol program and you need to pass the value from the JCL then u can use SYSIN DD * to pass the 1000 byte value. You can code the value continuosly from the first byte till 1000 spanning lines.
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 DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us