You don't say what programming language (much less what release/version of a compiler) you are using.
If you are talking about COBOL, it is entirely possible to put as much or as little as you might want - from either the Data Division *OR* the Procedure Division. If fact, if it is "distinct" set of logic that you want to share, you can create a NESTED PROGRAM to do the logic - and include the entire nested program as a copy member. Otherwise, you can use Paragraphs, Sections, or just "multiple lines of logic" as a copy member. If this isn't what you are asking about, please further explain your question. "Ron Thomas" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi, > > We have a requirement to create a online cics program and a batch program. > The program is used to create a user account by inputting the values thru the > online screen and also needs a batch program that does the same > funcationality , the input is supplied in a flat file. The customer wants the core > logic to be in a copybook. To my knowledge only we can use database > operations to be put in the common copy book. could some one please let me > know is there any other things we can incorporate in the copybbok so that the > batch and online can use the same. > > Thanks, > Rajeev V ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html