Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to pass a string value to a data set?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
sathish kumar chidambaram

New User


Joined: 30 Apr 2008
Posts: 1
Location: hyderabad

PostPosted: Wed Apr 30, 2008 7:02 pm    Post subject: How to pass a string value to a data set?
Reply with 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?
Back to top
View user's profile Send private message
References
PostPosted: Wed Apr 30, 2008 7:02 pm    Post subject: Re: How to pass a string value to a data set? Reply with quote

Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 414
Location: India

PostPosted: Wed Apr 30, 2008 7:17 pm    Post subject:
Reply with quote

Quote:
how can we do this thru JCL?

No!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2569
Location: Brussels once more ...

PostPosted: Wed Apr 30, 2008 7:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1087
Location: At my desk

PostPosted: Wed Apr 30, 2008 8:23 pm    Post subject:
Reply with quote

Gnanas SNG wrote:
No!
Somewhat emphatic an answer for the lack of provided data, wouldn't you say?
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6955
Location: 221 B Baker St

PostPosted: Wed Apr 30, 2008 9:26 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2445
Location: italy

PostPosted: Wed Apr 30, 2008 10:35 pm    Post subject: Reply to: How to pass a string value to a data set?
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1