Re: copybook usage
On 27 Oct 2008 09:14:22 -0700, [EMAIL PROTECTED] (Bill Klein) wrote: 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. Or anyplace else. -- 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
Re: copybook usage
Depending on the amount of batch updating to be done... I would be tempted to write the update process/program in CICS. Then use EXCI (or other batch interface to CICS) to post the activity you are getting from your flat file. You might end up with two CICS programs. One as the presentation layer and one that is LINKed to that does the update once the presentation layer has collected the data. This way you have one update program to maintain. No change for data or logic to become out of sync. Also, you can run your batch updates while CICS has control of the file (if the destination is a VSAM file for example) and CICS will manage any file/record contention. But this is only advisable if the amount of batch updating is relatively small in my opinion. If you do separate the presentation and business logic/update layers, you could also write a web service at some point and use a browser as your presentation layer. Kriss Davis Illinois State University 3470 Administrative Information Systems Normal, IL 61790-3470 [EMAIL PROTECTED] (309) 438-3983 -- 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
copybook usage
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
copybook usage
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