View previous topic :: View next topic |
Author |
Message |
pappu47 Beginner
Joined: 10 Jan 2005 Posts: 12 Topics: 4 Location: Hyderabad
|
Posted: Tue Apr 12, 2005 12:52 am Post subject: |
|
|
Kolusu,
It's working fine..
Thanks a lot Kolusu
With regards,
pappu |
|
Back to top |
|
 |
pappu47 Beginner
Joined: 10 Jan 2005 Posts: 12 Topics: 4 Location: Hyderabad
|
Posted: Mon Apr 18, 2005 8:36 am Post subject: |
|
|
Kolusu,
I need to call temp files(TGEN1 to TGEN5)which are having date field added at end into COBOL pgm.
I just included STEP300 instead STEP300 in below code.
But the job abended.
Code: |
//STEP0300 EXEC PGM=CBLPGM(my cobol prpgram)
//SYSOUT DD SYSOUT=*
//SYS001 DD DSN=&T01,DISP=OLD
|
Can pls you suggest how to call the temp file in COBOL.
Thanks in advance
With regards,
Pappu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Apr 18, 2005 9:07 am Post subject: |
|
|
Quote: |
Can pls you suggest how to call the temp file in COBOL.
|
Call a temp file? You mean read a temp file? You can read the temp files as shown below
Code: |
//STEP0300 EXEC PGM=CBLPGM(my cobol prpgram)
//SYSOUT DD SYSOUT=*
//SYS001 DD DSN=&T01,DISP=OLD
// DD DSN=&T02,DISP=OLD
// DD DSN=&T03,DISP=OLD
// DD DSN=&T04,DISP=OLD
// DD DSN=&T05,DISP=OLD
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|