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

Utility program that pass a dataset to ESF Print Queue


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 237
Location: USA

PostPosted: Mon Nov 07, 2005 10:12 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts REASON 00D70014 in load utility DB2 6
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top