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

dynamic sysin statement to be built for copying


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveen0187

New User


Joined: 26 Dec 2006
Posts: 1
Location: chennai

PostPosted: Mon Sep 14, 2009 6:53 pm
Reply with quote

I want to dynamically create a sysin (copy or repro) statement from cobol program and copy a incoming dataset to gdg version.

Let me give a example.

I have built a sysin file using a cobol program
allocate "xxxx.yyyy.microsft "
(and other required parameters)

I want to copy this file to another gdg, is it possible?. I am thinking to buid a sysin statement mentioning the above dataset in a cobol program.

Is there any statement in jcl to copy this dataset, if repro can be used please give me a example
Hope i am clear.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Sep 14, 2009 7:03 pm
Reply with quote

naveen0187 wrote:
... if repro can be used please give me a example


Can't you just lookup the syntax/instructions you need by entering TSO HELP REPRO from your TSO session?
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 Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
Search our Forums:

Back to Top