query reguarding passing values

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
lucky.rohith
Member
Posts: 8
Joined: Mon Aug 21, 2006 4:23 pm

query reguarding passing values

Post by lucky.rohith » Thu Aug 24, 2006 12:08 am

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.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others