How to compile both programs



How to compile both programs

Postby kanswa_boy » Tue Nov 13, 2007 10:54 am

There are two programs say A&B,A is only cobolprogram,B iscobol-db2 program,how to compile both programs?
kanswa_boy
 
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to compile both programs

 

how can i can this .?

Postby kanswa_boy » Tue Nov 13, 2007 10:57 am

In my jcl ,the 1st step is delete step,if the data set is existing,I want to delete,that one ,if dataset is no existing,I do not want abend the job,how can I code in disp?
kanswa_boy
 
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Has thanked: 0 time
Been thanked: 0 time

hw v retrive the data in reverse order.

Postby kanswa_boy » Tue Nov 13, 2007 11:10 am

hw can i retrive the data in reverse order in vsam file...?
kanswa_boy
 
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can i can this .?

Postby MrSpock » Tue Nov 13, 2007 12:53 pm

DISP=(MOD,DELETE,DELETE) perhaps?
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: hw to run these pgm...?

Postby CICS Guy » Tue Nov 13, 2007 5:08 pm

kanswa_boy wrote:There are two programs say A&B,A is only cobolprogram,B iscobol-db2 program,how to compile both programs?
Separately.....
Your shop will have standardized compile procedures, use them...
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: hw v retrive the data in reverse order.

Postby CICS Guy » Tue Nov 13, 2007 5:12 pm

kanswa_boy wrote:hw can i retrive the data in reverse order in vsam file...?
Online or batch?
Keyed. sequential or relative?
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: hw v retrive the data in reverse order.

Postby kanswa_boy » Wed Nov 14, 2007 4:06 pm

CICS Guy wrote:
kanswa_boy wrote:hw can i retrive the data in reverse order in vsam file...?
Online or batch?
Keyed. sequential or relative?
SEQENTIAL VSAM FILE
kanswa_boy
 
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: hw v retrive the data in reverse order.

Postby MrSpock » Wed Nov 14, 2007 6:04 pm

CICS Guy wrote:
kanswa_boy wrote:hw can i retrive the data in reverse order in vsam file...?
Online or batch?
Keyed. sequential or relative?


What difference does it make? It can't be done outside of CICS anyway.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: hw v retrive the data in reverse order.

Postby CICS Guy » Wed Nov 14, 2007 8:27 pm

MrSpock wrote:What difference does it make? It can't be done outside of CICS anyway.
Keyed and relative could be done in batch, couldn't they.....
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: hw v retrive the data in reverse order.

Postby MrSpock » Mon Nov 19, 2007 11:11 am

CICS Guy wrote:Keyed and relative could be done in batch, couldn't they.....


The only examples I've ever seen or heard of are done using FileAid or Assembler. I've never seen an example using COBOL or any standard utility.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Next

Return to Interview Questions