|
|
| Author |
Message |
sathish kumar chidambaram
New User
Joined: 30 Apr 2008 Posts: 1 Location: hyderabad
|
|
|
|
| Suppose I want to create a new dataset with some information passed into it (at the time of creating data set I want to pass the values in it). Can we do this thru JCL? |
|
| Back to top |
|
 |
References
|
Posted: Wed Apr 30, 2008 7:02 pm Post subject: Re: How to pass a string value to a data set? |
 |
|
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 414 Location: India
|
|
|
|
| Quote: |
| how can we do this thru JCL? |
No! |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2569 Location: Brussels once more ...
|
|
|
|
A utility perhaps, IEBGENER to create a dataset and populate with instream data ?
REXX to define and populate the data
SORT could do it too |
|
| Back to top |
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1087 Location: At my desk
|
|
|
|
|
Somewhat emphatic an answer for the lack of provided data, wouldn't you say? |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 6954 Location: 221 B Baker St
|
|
|
|
Hello sathish kumar chidambaram, and welcome to the forums,
| Quote: |
| Suppose I want to create a new dataset with some information passed into it (at the time of creating data set I want to pass the values in it). Can we do this thru JCL? |
To receive useful answers from the forum, you need to provide enough info for us to work with.
Unless i misunderstand, almost every dataset is populated with some data when it is created. There are some exceptions, but most often, data is "passed into it" when a dataset is created.
Please post an example of what you need as output (and where it is coming from) and we can make suggestions on how you might accomplish what you need. . . |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2444 Location: italy
|
|
|
|
| Quote: |
| Somewhat emphatic an answer for the lack of provided data, wouldn't you say? |
You resist, keep doing it,
but once in a while You get fed up with people asking to do something thru jcl...
and there are a bit too many
and give a technically correct answer without any further investigation |
|
| Back to top |
|
 |
|
|