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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


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