Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us