MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to pass values from parm if the data is > 150 length

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
sriramkarumuri
Beginner


Joined: 07 Feb 2006
Posts: 28
Topics: 7

PostPosted: Wed Nov 08, 2006 5:10 am    Post subject: How to pass values from parm if the data is > 150 length Reply with quote

I had a problem where I would like to read a parm having data and based on validation I would like to process in the program.

Main problem is I would like to share the data which is of 150 in length. As mainframe dataset member cannot accomodate 150 length parm I approached a file. But file should be created before run with the required data as a pre-requisite.

I am thinking for an alternative way where i can avoid all prerequisites of files.

Can some one suggest an alternate approach for my problem except writing a one more cobol program to create some files dynamically.

Thanks,
Sriram
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Nov 08, 2006 6:19 am    Post subject: Reply with quote

Quote:
As mainframe dataset member cannot accomodate 150 length parm

Huhhhhh ????

O.
________
Dodge M80 history


Last edited by ofer71 on Sat Feb 05, 2011 11:53 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Wed Nov 08, 2006 8:49 am    Post subject: Reply with quote

Ofer I guess the poster wanted to pass parm data greater than 150 bytes. In JCL you have a limit of 100 characters for the parms.

sriramkarumuri,

Read the parm file assigning to SYSIN.

Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=4363&highlight=parm

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Nov 08, 2006 2:13 pm    Post subject: Reply with quote

I think he mentioned the words "dataset member" in conjunction with "cannot accomodate 150..."

O.
________
vaporizer review


Last edited by ofer71 on Sat Feb 05, 2011 11:53 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
sriramkarumuri
Beginner


Joined: 07 Feb 2006
Posts: 28
Topics: 7

PostPosted: Thu Nov 16, 2006 5:45 am    Post subject: Reply with quote

Ofer/ Kolusu

You are right that we cannot pass 150 length in parm.

I am looking for an alternative way except a file. If i approach a file i need to have prerequest every time for setup.

thats where i am looking for an alternative approach. I got the soultion using SAS.
But still i have to create three more elements for SAS program like PROC or JCL etc.,

will there be any solution other than this...

Regards,
Sriram
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group