How to compile both programs

kanswa_boy
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Skillset: jcl,vsam,cobol,db2,cics
Referer: through website

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
Skillset: jcl,vsam,cobol,db2,cics
Referer: through website

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
Skillset: jcl,vsam,cobol,db2,cics
Referer: through website

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...?

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

Re: how can i can this .?

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

DISP=(MOD,DELETE,DELETE) perhaps?

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

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: 246
Joined: Wed Jun 20, 2007 4:08 am

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?

kanswa_boy
Posts: 7
Joined: Tue Nov 06, 2007 3:54 pm
Skillset: jcl,vsam,cobol,db2,cics
Referer: through website

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

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

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.

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

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.....

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

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.


  • Similar Topics
    Replies
    Views
    Last post