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 

Error in GDG VERSION creation
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Mon Nov 27, 2006 10:21 am    Post subject: Reply with quote

try out with the PRINT Command.


cheers,
VJ
Back to top
View user's profile Send private message
mrinalsolanki
Beginner


Joined: 02 May 2006
Posts: 56
Topics: 16

PostPosted: Tue Nov 28, 2006 2:34 am    Post subject: Reply with quote

hi VJ,

I am not been able to find the correct syntax of PRINT .can you please give me a
short example of PRINT where PRINT is used in SYSIN.

Thanks and Regards

Mrinal
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Nov 28, 2006 5:56 am    Post subject: Reply with quote

mrinalsolanki,

Try this link which explains in detail about the print command along with examples.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1v403/3.24?DT=19990113080956

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
mrinalsolanki
Beginner


Joined: 02 May 2006
Posts: 56
Topics: 16

PostPosted: Wed Nov 29, 2006 1:20 am    Post subject: Reply with quote

hi kolusu,

According to the link i used the code of print as follows:

Code:
//STEP0  EXEC PGM=IDCAMS       
 //SYSPRINT DD SYSOUT=*         
 //SYSIN  DD   *                 
   DELETE TEST.* PURGE   
   IF MAXCC EQ 8 THEN           
   DELETE TEST.* GDG FORCE
   IF MAXCC EQ 8 THEN           
   SET MAXCC=1                   
   PRINT -                       
    INDATASET(GDG.DEL)-   
    CHARACTER                   
 /*               


Output is as follows:

Code:
IDCAMS  SYSTEM SERVICES                   
LISTING OF DATA SET -GDG.DEL       
RECORD SEQUENCE NUMBER - 1               
.. .... .. ... ...... ....               
IDC0005I NUMBER OF RECORDS PROCESSED WAS 1


My question is that why the text message which is in GDG.DEL not printed here?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Nov 29, 2006 5:56 am    Post subject: Reply with quote

mrinalsolanki,

are sure that gdg.del has a message other than low-values in it?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrinalsolanki
Beginner


Joined: 02 May 2006
Posts: 56
Topics: 16

PostPosted: Wed Nov 29, 2006 6:35 am    Post subject: Reply with quote

kolusu,

I didn't get you here.
how would i know that the text entered is low-values?

Mrinal
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) 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