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
 

 

dynamic sysin statement to be built for copying

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: dynamic sysin statement to be built for copying
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

Moderator Team Head


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

PostPosted: Mon Sep 14, 2009 7:03 pm    Post subject: Re: dynamic sysin statement to be built for copying
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    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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm
This topic is locked: you cannot edit posts or make replies. Updating value of key using rewrite s... ParminderKumar COBOL Programming 4 Thu Aug 04, 2016 12:46 am


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