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 

Search found 26 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: NETSTATS in batch REXX
naveen_summary

Replies: 3
Views: 4159

PostForum: TSO and ISPF   Posted: Wed Jul 15, 2009 12:02 pm   Subject: NETSTATS in batch REXX
And sorry I forgot to mention the NETSTAT command is supposed to allocate the dataset.
  Topic: NETSTATS in batch REXX
naveen_summary

Replies: 3
Views: 4159

PostForum: TSO and ISPF   Posted: Wed Jul 15, 2009 11:47 am   Subject: NETSTATS in batch REXX
Kolusu, thanks for your reply.

I made the %change but I think the other changes are not necessary as I get the below statements in my output. As you can see the first 3 statements are output of a R ...
  Topic: NETSTATS in batch REXX
naveen_summary

Replies: 3
Views: 4159

PostForum: TSO and ISPF   Posted: Wed Jul 15, 2009 10:37 am   Subject: NETSTATS in batch REXX
Hello,

I need to get the netstats for an IP (Thales Device) into a dataset using REXX program. I am abel to acheive this when i execute the rexx from command prompt but this does not work when exec ...
  Topic: LISTDSI(dsn) where dsn is variable.
naveen_summary

Replies: 6
Views: 3478

PostForum: TSO and ISPF   Posted: Thu Mar 12, 2009 11:37 am   Subject: LISTDSI(dsn) where dsn is variable.
Gurus,
It works if I include the code as below:

backupdsn = "'QX000241."env"."es62b"'"

On print it looks as:
'QX000241.JCL.PS'
  Topic: LISTDSI(dsn) where dsn is variable.
naveen_summary

Replies: 6
Views: 3478

PostForum: TSO and ISPF   Posted: Thu Mar 12, 2009 11:19 am   Subject: LISTDSI(dsn) where dsn is variable.
Hello Gurus,

My code:
x = listdsi("'QX000241.JCL.PS'")
works well. x comes out as 0.

but my code:

env = 'JCL'
es62b = 'PS'
backupdsn = '"'||"'"||'QX000241 ...
  Topic: Use Change all command in Batch mode and write output to PS
naveen_summary

Replies: 2
Views: 1823

PostForum: TSO and ISPF   Posted: Tue Mar 10, 2009 12:16 pm   Subject: Use Change all command in Batch mode and write output to PS
Thank you,

I managed to find what I was looking for at (parse function):
http://www.mvsforums.com/helpboards/viewtopic.php?t=10538
  Topic: Use Change all command in Batch mode and write output to PS
naveen_summary

Replies: 2
Views: 1823

PostForum: TSO and ISPF   Posted: Tue Mar 10, 2009 11:40 am   Subject: Use Change all command in Batch mode and write output to PS
Hello All,

Sorry for this basic question but I am unable to resolve. Could you please help me.

1) I need to read a PDS member.
2) Change all 'XX' to 'YY'.
3) Write the changed data to PS outp ...
  Topic: 10,000 post this :-)
naveen_summary

Replies: 0
Views: 1173

PostForum: Utilities   Posted: Wed Jul 09, 2008 10:00 am   Subject: 10,000 post this :-)
Just to say it is the 10,000th post in Utilities.
I am sure many here benefitted from experts especially Kolusu and Frank.
Thanks a Ton.
  Topic: Create output with rec counts and sizes for 10 files
naveen_summary

Replies: 8
Views: 4533

PostForum: Utilities   Posted: Wed Jul 09, 2008 7:09 am   Subject: Create output with rec counts and sizes for 10 files
Kolusu - Very nice. Thanks for all these postings
Very Happy
  Topic: Check for return code of Proc step in Job
naveen_summary

Replies: 8
Views: 7220

PostForum: Job Control Language(JCL)   Posted: Mon Jul 07, 2008 4:08 am   Subject: Check for return code of Proc step in Job
Superk, I made some mistake last friday.
I tested as you suggested and it works fine. Thanks a lot.
  Topic: Check for return code of Proc step in Job
naveen_summary

Replies: 8
Views: 7220

PostForum: Job Control Language(JCL)   Posted: Sun Jul 06, 2008 7:05 am   Subject: Check for return code of Proc step in Job
I am sure I tried this and it gave me an error. But I will try this tomorrow.
  Topic: Check for return code of Proc step in Job
naveen_summary

Replies: 8
Views: 7220

PostForum: Job Control Language(JCL)   Posted: Fri Jul 04, 2008 11:46 am   Subject: Check for return code of Proc step in Job
Thanks Terry. So, I think I will go for this in the proc:

In PROC:


If (step1.rc=4 and step2.rc=4) then
//procstep2 exec pgm=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SET MAXCC=49
/ ...
  Topic: Check for return code of Proc step in Job
naveen_summary

Replies: 8
Views: 7220

PostForum: Job Control Language(JCL)   Posted: Fri Jul 04, 2008 9:05 am   Subject: Check for return code of Proc step in Job
This is my code:

Job:


//Proclib dd dsn=x.x.proclib,disp=shr
//jobstep1 Exec proc1
// if (procstep1.rc=4 and procstep2.rc=4) then
//jobstep2 exec pgm=
// endif


Proc1


//procstep1 ...
  Topic: Check for return code of Proc step in Job
naveen_summary

Replies: 8
Views: 7220

PostForum: Job Control Language(JCL)   Posted: Fri Jul 04, 2008 8:39 am   Subject: Check for return code of Proc step in Job
Hello all,

I have a proc with 2 steps. I need to check the return codes of both the steps in the calling job and based on this execute the next step in job.
I tried giving the stepname.rc but it ...
  Topic: delete dataset using BPXWDYN
naveen_summary

Replies: 0
Views: 1192

PostForum: Application Programming   Posted: Tue May 13, 2008 11:42 am   Subject: delete dataset using BPXWDYN
Gurus,

Can you give me the syntax to delete the file using this utility.
I am able to allocated in SHR mode but keyword 'DELETE' does not delete the dataset.

Thanks
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group