Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
check for wrong data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Wed May 04, 2005 11:25 am    Post subject: check for wrong data
Reply with quote

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
View user's profile Send private message

pushkar

New User


Joined: 29 Apr 2005
Posts: 2

PostPosted: Wed May 04, 2005 5:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed May 04, 2005 5:31 pm    Post subject:
Reply with quote

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
View user's profile Send private message
srividya.srinivasan

New User


Joined: 30 Mar 2005
Posts: 11
Location: Pune, India

PostPosted: Thu May 05, 2005 3:52 pm    Post subject: 10,000 records as input of the record
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us