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
 

 

Regarding reading values in serial search

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
lucky.rohith
Currently Banned

New User


Joined: 06 Aug 2006
Posts: 10

PostPosted: Thu Aug 24, 2006 12:38 am    Post subject: Regarding reading values in serial search
Reply with quote

HI,

I hav a query reguarding serial search. But this search sholud be written called program.v wil b passing only the no that is to b searched to the called program.

v can read the no. to b searched in two ways
1. By assigning the values during the declaration in data division.
2. By ACCEPT statement.
I hav read the array in the called program.i hav given the values of that array in the RUN JCL program .

Now my doubt is, i want to read my no. through ACCEPT statement.
Whether i have to give that no in RUNJCL along with that arrays values.
Or i have to run the JCL code seperately to read the value to b searched.
Back to top
View user's profile Send private message

kondakonda

New User


Joined: 20 Mar 2006
Posts: 34

PostPosted: Thu Aug 24, 2006 3:57 pm    Post subject: Re: reguarding reading values
Reply with quote

No need to run the jcl separately, you can pass the search number directly along with the array value. You have to just follow the order of the ACCEPT statements (sub program and main program) should match the order of values in the SYSIN step of the run jcl.
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm


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