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

Regarding reading values in serial search


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
Search our Forums:

Back to Top