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

Dummy file


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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Dec 28, 2005 9:26 pm
Reply with quote

Can we make an output file as dummy in a jcl.
I am trying to execute an ezytrive program which has 2 output files. I want to make one of them DUMMY. But when I try runnin the job by making it DUMMY. Any reason or any solution.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Dec 28, 2005 9:35 pm
Reply with quote

Hi pjnithin,

I don't use ezytrive, but I do use DUMMY output files often. Sometimes, when the program does not have the LRECL defined within the program, it needs to fetch it from the DD. In these cases I need to code the LRECL on the DUMMY.

i.e.

//OUTFILE DD DUMMY,LRECL=124

Give this a try.
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Dec 28, 2005 10:23 pm
Reply with quote

Thanks David.
It worked, I didn't had the record length coded in the ezytrieve.

DavidatK wrote:
Hi pjnithin,

I don't use ezytrive, but I do use DUMMY output files often. Sometimes, when the program does not have the LRECL defined within the program, it needs to fetch it from the DD. In these cases I need to code the LRECL on the DUMMY.

i.e.

//OUTFILE DD DUMMY,LRECL=124

Give this a try.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top