MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

REPRO failing on reading new empty ESDS file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Wed Sep 06, 2006 5:15 pm    Post subject: REPRO failing on reading new empty ESDS file Reply with quote

I've never encountered this before; a newly defined ESDS file cannot be REPRO'ed to a SAM file (as a backup) unless it has a record in it.

REPRO INFILE (PWA) OUTFILE (BPWA)
IDC3300I ERROR OPENING PICES44V.PREV.WEEK.ADJ
IDC3351I ** VSAM OPEN RETURN CODE IS 160
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12


I understand that a delete flag within the record can be set - does anyone know how to do this, or better yet have a program they are willing to share ?

Thank you...
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Sep 06, 2006 9:26 pm    Post subject: Reply with quote

stansaraczewski,

Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=5592&highlight=vsamemt

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Wed Sep 06, 2006 10:20 pm    Post subject: Reply with quote

I'm confused - what does the link show ? It is not the same error message and code that I am getting, and I am READING the vsam file, not writing to it as the sample in the link shows.

Thanks anyway.
Back to top
View user's profile Send private message
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Wed Sep 06, 2006 10:23 pm    Post subject: Reply with quote

I see now the topic you wanted me to see is nested.

Yes, I knew that and I was looking for a program to set the byte that is discussed.

I'm ready to write my own in assembler if no one has one.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Sep 07, 2006 7:05 am    Post subject: Reply with quote

stansaraczewski,

apologies. I thought the other way round. You want to copy an empty vsam cluster to a flat file.

Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2600&highlight=vsamemt

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Thu Sep 07, 2006 7:21 am    Post subject: Reply with quote

Thank you. I did not know that such a parm existed. We recently converted to a non-IBM sort product and I'll need to research its' availability.

My problem is that five or six vsam datasets are being repro'd to sam files in one job step. The empty esds file in question is not always empty and created elsewhere in another job. It is in that job that I need to make the file readable, empty or not.

There is a method using assembler to set a certain flag in the file so that it can be read. This is what I am after, to add a jobstep after the file is created to execute the program to alter the file.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Sep 07, 2006 7:34 am    Post subject: Reply with quote

Quote:

We recently converted to a non-IBM sort product and I'll need to research its' availability.


The job shown in the link works with both DFSORT and Syncsort(non-ibm sort product).

Quote:

My problem is that five or six vsam datasets are being repro'd to sam files in one job step. The empty esds file in question is not always empty and created elsewhere in another job. It is in that job that I need to make the file readable, empty or not.


The job will use the parm VSAMEMT only incase the cluster is empty. If it is not empty then it will simply copy the input vsam cluster to flat file.


Quote:

There is a method using assembler to set a certain flag in the file so that it can be read. This is what I am after, to add a jobstep after the file is created to execute the program to alter the file.


Check and see if this helps...

http://www.xephon.com/cgi-bin/xephon3/licence/getcode.cgi?pubfile=July.2002&datafile=A046A03

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Thu Sep 07, 2006 7:38 am    Post subject: Reply with quote

Thanks again...

I will need to find the supporting article for the program as it apparently does quite a few other things.

It will serve as a starting point.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group