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
 
question cobol/db2/vsam .. Please Hlep me out !!!!!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: question cobol/db2/vsam .. Please Hlep me out !!!!!
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    Post subject: Re: question cobol/db2/vsam .. Please Hlep me out !!!!!
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    Post subject: HEY SIVA
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm

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