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
 

 

How to pass a string value to a data set?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
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

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, 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: 8593
Location: Back in jolly old England

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: 2150
Location: At my coffee table

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 10256
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
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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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