View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
Hi friends
i have some doubts, plz do reply
i have 10,000 records as input of the record
one of the record data is of invalid format (ie a particular field has non numeric data) Is there any way to check for the given data is of valid format or not ....before processing it through program
in a CICS-COBOL programs when is COPY expanded
At Translate time or at compile time...
Regards
siva |
|
Back to top |
|
|
pushkar
New User
Joined: 29 Apr 2005 Posts: 2
|
|
|
|
Hi siva,
Quote: |
in a CICS-COBOL programs when is COPY expanded
At Translate time or at compile time... |
Corect me if i am wrong. but what i understand is the copy is expanded at compile time. |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
i think it should be in translating step as as far as i know, steps are like as follows:
1. SYSIN(Source Program)
2.Command Level Language Translater --> sysprint translator listing
3. SYSPUNCH, containing transalted source program
4.High level Language assembler --> compiler listing(Object Module created).
5.Link Editor -->Link-editor sysprint
6. Load module creted
hence the copy book should be expanded at the first step only.say for example i have a copy book which certain CICS statement, hence when transaltion of CICS code is done then this ciopy book should be available in uncompressed format.
correct me if i m wrong and let me know if u have diffrent opinion on this.
Thanks |
|
Back to top |
|
|
srividya.srinivasan
New User
Joined: 30 Mar 2005 Posts: 11 Location: Pune, India
|
|
|
|
Hi Siva,
If u have so many records , then put a condition before moving the field.
Ex:
IF filed IS NUMERIC
Process
ELSE
Write to some Error tracking file
By doing thsi neither will u r Job Abend and u'll b able to fine the Record with Alphanumeric Format.
Vidya |
|
Back to top |
|
|
|