Hi,
I'm trying to understand that, if REPRO perform an append to a dataset, in case the ALLOC statement has a MOD? Or should I use IEBGENER?
I verified for all non-VSAM datasets and it is working fine that is there are no error messages. However, when I check to see if the second append to a dataset worked, it looks like the dataset was overridden, rather than appended to.
Does REPRO perform an append to a dataset?
Moderator: mickeydusaor
-
- New Member
- Posts: 6
- Joined: Sun Feb 09, 2014 12:38 pm
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Does REPRO perform an append to a dataset?
tested with
submitted THREE times to get
obviously the first submit with an empty output
now the ball is into Your court for researching :geek:
it worked even with more than ONE repro in a single idcams execution
Code: Select all
****** ***************************** Top of Data ******************************
- - - - - - - - - - - - - - - - - - - 2 Line(s) not Displayed
000003 //AMS EXEC PGM=IDCAMS,REGION=0M,COND=(0,NE)
000004 //SYSPRINT DD SYSOUT=*
000005 //SYSIN DD *
000006 REPRO OUTFILE(TEST) INFILE(FIRST)
000007 REPRO OUTFILE(TEST) INFILE(SECND)
000008 //TEST DD DISP=MOD,DSN=ENRICO.MFTEST.PS
000009 //FIRST DD *
000010 FIRST
000011 //SECND DD *
000012 SECND
****** **************************** Bottom of Data ****************************
Code: Select all
VIEW ENRICO.MFTEST.PS Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 FIRST
000002 SECND
000003 FIRST
000004 SECND
000005 FIRST
000006 SECND
****** **************************** Bottom of Data ****************************
now the ball is into Your court for researching :geek:
it worked even with more than ONE repro in a single idcams execution
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Does REPRO perform an append to a dataset?
The question is in TSO Part of the Forum, I've not tested it to be sure however ,I think it might be to do with using REPRO in TSO ...!?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- New Member
- Posts: 6
- Joined: Sun Feb 09, 2014 12:38 pm
Re: Does REPRO perform an append to a dataset?
Yes, I'm using IDCAMS under TSO and not in batch as enrico has showed. Will that makea difference?
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute