IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to pass a string value to a data set?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 792
Location: Chennai, India

PostPosted: Wed Apr 30, 2008 7:17 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Apr 30, 2008 7:19 pm
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: 2146
Location: At my coffee table

PostPosted: Wed Apr 30, 2008 8:23 pm
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

Moderator Emeritus


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

PostPosted: Wed Apr 30, 2008 9:26 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 30, 2008 10:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top