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

Reading mulitiple files one by one


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Thu Aug 09, 2007 2:56 pm
Reply with quote

Hi,

I have couple of dataset names in one member. I want to read one by one.Where ever my cond getting match it should write in to the out put file.


Please help me.

Thank you,
Venkata Brahmam.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Aug 09, 2007 3:01 pm
Reply with quote

How do you want to do that? REXX? COBOL? SORT?

O.
Back to top
View user's profile Send private message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Thu Aug 09, 2007 5:46 pm
Reply with quote

I want to do it through the cobol language.

Thank you,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 09, 2007 11:55 pm
Reply with quote

Hello,

Please post examples of what you have and what you want to do.

Show these:
Quote:
couple of dataset names in one member
and these:
Quote:
I want to read one by one.Where ever my cond getting match it should write
and what the output(s) should look like.

Once you provide some definition, we may be able to offer suggestions.
Back to top
View user's profile Send private message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Sat Aug 11, 2007 10:16 am
Reply with quote

I receive daily 80 - 100 datasets from onsite.I have to change the input files in the related jcls and test the jcl. After doing testing i also need to open each and every dataset and need to see the trailer count. Presently i am opening each and every dataset in the 3.4 ispf and noteing down manuaaly. Instead if able to do it by passing one member which is having the datasets names, if i got all the dataset trailers in one ps would be greatful and save lot of time.

Please help me .
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Aug 11, 2007 10:38 am
Reply with quote

Quote:
member which is having the datasets names, if i got all the dataset trailers in one ps

You can get this easily done without COBOL.
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top