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

dynamic copy from one dataset to other


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Thu Apr 17, 2008 11:56 pm
Reply with quote

Any idea of how to copy data from one file to another dynamically?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 18, 2008 12:00 am
Reply with quote

please explain the ... dynamically
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: Fri Apr 18, 2008 12:01 am
Reply with quote

Use one of the sort copy utilities.....
Back to top
View user's profile Send private message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Fri Apr 18, 2008 12:04 am
Reply with quote

by saying dynamically i mean inside a cobol program. i will be allocating the files inside the program.
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: Fri Apr 18, 2008 12:33 am
Reply with quote

Balaji Krishnamurthy wrote:
by saying dynamically i mean inside a cobol program. i will be allocating the files inside the program.
Yes, I figured that because of the forum you posted in, I just wondered why you want to do things the hard way?
A quick search pulled up how to create datasets dynamically which contains several good links itself......
Back to top
View user's profile Send private message
Balaji Krishnamurthy

New User


Joined: 26 Feb 2008
Posts: 20
Location: chennai

PostPosted: Fri Apr 18, 2008 12:57 am
Reply with quote

is there any utility to map a ddname for a file inside a cobol program. i dont want it in the alloc step.
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: Fri Apr 18, 2008 1:12 am
Reply with quote

I have to ask, why?
What is the need?
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top