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
 

 

Utility program that pass a dataset to ESF Print Queue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
tkmikkelsen

New User


Joined: 02 May 2005
Posts: 1
Location: Morristown, NJ

PostPosted: Fri Oct 21, 2005 2:30 am    Post subject: Utility program that pass a dataset to ESF Print Queue
Reply with quote

I am trying to write an utility program that takes a dataset and then writes it to esf print que.
My problem is that this is supposed to be used as a generic utility that is used to send different extracts out with. Problem with these extracts are that they all write to datasets of different record length, so that one writes in 256 character format and another in 512 character format.
My problem is now, that I would somehow like to be able to use these different sized datasets as an input dataset in my cobol program.
How do I define the dataset in FILE-CONTROL and FILE-SECTION is order for this to work?
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Mon Nov 07, 2005 10:12 am    Post subject:
Reply with quote

tkmikkelsen

try defining multiple output files with different lengths...then depending on the requirement, open the desired length output file keeping others closed.

hope this helps

regards
mayuresh
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am


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