| View previous topic :: View next topic |
| Author |
Message |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Mon Nov 27, 2006 10:21 am Post subject: |
|
|
try out with the PRINT Command.
cheers,
VJ |
|
| Back to top |
|
 |
mrinalsolanki Beginner
Joined: 02 May 2006 Posts: 56 Topics: 16
|
Posted: Tue Nov 28, 2006 2:34 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12404 Topics: 75 Location: San Jose
|
|
| Back to top |
|
 |
mrinalsolanki Beginner
Joined: 02 May 2006 Posts: 56 Topics: 16
|
Posted: Wed Nov 29, 2006 1:20 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12404 Topics: 75 Location: San Jose
|
Posted: Wed Nov 29, 2006 5:56 am Post subject: |
|
|
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 |
|
 |
mrinalsolanki Beginner
Joined: 02 May 2006 Posts: 56 Topics: 16
|
Posted: Wed Nov 29, 2006 6:35 am Post subject: |
|
|
kolusu,
I didn't get you here.
how would i know that the text entered is low-values?
Mrinal |
|
| Back to top |
|
 |
|
|
|