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: 10274
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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