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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm


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