IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

question cobol/db2/vsam .. Please Hlep me out !!!!!


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siva2
Warnings : 1

New User


Joined: 10 Feb 2006
Posts: 7

PostPosted: Fri Feb 10, 2006 2:26 pm
Reply with quote

hai .,
Very urgent please HELP ME OUT...
I will be really thank full if give the answers ..
1 .I have a COBOL/DB2 pgm , i have to modify the program .. tell what to be done from stage 1 .. till the tesing process..

-how to retrive from production region
-where u will place..
-modification done in jcl..
-compiling..

2.how to count number of records in VSAM file ( of any type ) with out opening it .. u should use file-aid options

3. I have ten records .. amoung which one of record is error ( contains invalid datas) .. tell me a logic to find error record ..


4.im having a LREC = 80 for a FAT file and now im changing the LREC = 90
what r the modification should be done in cobol pgm ..
(IN SIMPLE ADDING AN ADDITIONAL COLUMN TO EXSITING FILE )
wht should be done ..



with regards .,

siva kumar ..
Back to top
View user's profile Send private message
babuprasad_g
Currently Banned

New User


Joined: 26 May 2005
Posts: 45
Location: gurgaon

PostPosted: Fri Feb 10, 2006 2:52 pm
Reply with quote

1 .I have a COBOL/DB2 pgm , i have to modify the program .. tell what to be done from stage 1 .. till the tesing process..

Ans:

First retrive your cobol module from production.
If you use endevour.
Go for first unit level.
Then ---> Foreground option ----->retrive option --->then enter fields
ENVIRONMENT ===>
SYSTEM ===>
SUBSYSTEM ===>
ELEMENT ===>
TYPE ===> COBOL2
STAGE ===> (Developer level/Production)
COMMENT ===>

TO ISPF LIBRARY:
PROJECT ===>
LIBRARY ===>
TYPE ===>
MEMBER ===>

And CCID. pUT "R" In you command then enter.

You will get your cobol module.
then you will do the modificaions.
then use compile JCL do some modifications.
Do some testing by using expeditor/Manual testing.
then ADD in to the Endevour
Back to top
View user's profile Send private message
CUDNAREN

New User


Joined: 06 Jan 2006
Posts: 9

PostPosted: Mon Feb 13, 2006 11:46 am
Reply with quote

THE ANSWER FOR THE 3RD QUESTION THAT IS


I have ten records .. amoung which one of record is error ( contains invalid datas) .. tell me a logic to find error record


WHEN U RUN THE PROGRAM USING THIS FILE WHERE IN OUT OF 10 RECORDS 1 IS CORRUPTED THEN THE PROGRAM GETS ABENDED AND IF U GO AND CHECK IN SYSDUMP U FIND THE CORRUPTED RECORD WHERE IT HAS GOT ABENDED.

HOPE THIS HELPS OUT.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top