Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Copying only first and last word from... chandan.inst SYNCSORT 4 Wed Jan 31, 2018 4:19 pm
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 0 Mon Jan 29, 2018 10:17 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us