MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need to report how long particular ID is zero
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
pappu47
Beginner


Joined: 10 Jan 2005
Posts: 12
Topics: 4
Location: Hyderabad

PostPosted: Tue Apr 12, 2005 12:52 am    Post subject: Reply with quote

Kolusu,

It's working fine..
Thanks a lot Kolusu

With regards,

pappu
Back to top
View user's profile Send private message Yahoo Messenger
pappu47
Beginner


Joined: 10 Jan 2005
Posts: 12
Topics: 4
Location: Hyderabad

PostPosted: Mon Apr 18, 2005 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Apr 18, 2005 9:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group