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
 

 

Reading mulitiple files one by one

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Reading mulitiple files one by one
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: 2360
Location: Israel

PostPosted: Thu Aug 09, 2007 3:01 pm    Post subject:
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    Post subject: Hi
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

Site Director


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

PostPosted: Thu Aug 09, 2007 11:55 pm    Post subject:
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    Post subject: Hi
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    Post subject:
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    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 getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


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