Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us