Page 1 of 2

How to compile both programs

PostPosted: Tue Nov 13, 2007 10:54 am
by kanswa_boy
There are two programs say A&B,A is only cobolprogram,B iscobol-db2 program,how to compile both programs?

how can i can this .?

PostPosted: Tue Nov 13, 2007 10:57 am
by kanswa_boy
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?

hw v retrive the data in reverse order.

PostPosted: Tue Nov 13, 2007 11:10 am
by kanswa_boy
hw can i retrive the data in reverse order in vsam file...?

Re: how can i can this .?

PostPosted: Tue Nov 13, 2007 12:53 pm
by MrSpock
DISP=(MOD,DELETE,DELETE) perhaps?

Re: hw to run these pgm...?

PostPosted: Tue Nov 13, 2007 5:08 pm
by CICS Guy
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...

Re: hw v retrive the data in reverse order.

PostPosted: Tue Nov 13, 2007 5:12 pm
by CICS Guy
kanswa_boy wrote:hw can i retrive the data in reverse order in vsam file...?
Online or batch?
Keyed. sequential or relative?

Re: hw v retrive the data in reverse order.

PostPosted: Wed Nov 14, 2007 4:06 pm
by kanswa_boy
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

Re: hw v retrive the data in reverse order.

PostPosted: Wed Nov 14, 2007 6:04 pm
by MrSpock
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.

Re: hw v retrive the data in reverse order.

PostPosted: Wed Nov 14, 2007 8:27 pm
by CICS Guy
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.....

Re: hw v retrive the data in reverse order.

PostPosted: Mon Nov 19, 2007 11:11 am
by MrSpock
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.