Author |
Message |
Topic: Setting error messages in a panel containing Rexx code |
Steve Coalbran
Replies: 11
Views: 7794
|
Forum: TSO and ISPF Posted: Wed Oct 10, 2018 12:53 am Subject: Setting error messages in a panel containing Rexx code |
Beginner
Just spotted my 'level': 'Beginner'
I think in IBM UK Portsmouth Northern Road, we started with ISPF in 1979 and I worked with CLISTs writing dialogues as soon as I discovered them.
M ... |
Topic: Setting error messages in a panel containing Rexx code |
Steve Coalbran
Replies: 11
Views: 7794
|
Forum: TSO and ISPF Posted: Wed Oct 10, 2018 12:08 am Subject: Setting error messages in a panel containing Rexx code |
You cannot issue ISPF Services within a REXX section.
Something more like this I do a lot... this is not taken from a live example so may be typos!
&ZERRSM = ''
&ZERRLM = ''
&ZERRHM = ... |
Topic: What is the Rexx Command to see the Current PDS and Member? |
Steve Coalbran
Replies: 5
Views: 2318
|
Forum: TSO and ISPF Posted: Mon Aug 21, 2006 2:01 pm Subject: Re: What is the Rexx Command to see the Current PDS and Memb |
Hi,
Can anyone tell me the Rexx command to capture the current dataset name & member on which I am working now?
Thanks
Ranjit
Actually Ranjit's question makes no reference as to whethe ... |
Topic: Check whether Dataset is existed or not |
Steve Coalbran
Replies: 21
Views: 14500
|
Forum: TSO and ISPF Posted: Mon Aug 21, 2006 1:34 pm Subject: Check whether Dataset is existed or not |
Here's a technique I use to define a generic dsname from JCL...
// SET MD='(MOD,DELETE),SPACE=(TRK,0)'
...
//SOMEPROC PROC PRJ1=,LIB1=
...
//S030 EXEC PGM=IKJEFT1A,P ... |
Topic: Expand the copy book in the program |
Steve Coalbran
Replies: 10
Views: 6966
|
Forum: TSO and ISPF Posted: Fri Aug 18, 2006 9:45 am Subject: Expand the copy book in the program |
I tried this as an exercise (well I am bored and in between projects this week!).
I did it in about 70 lines and it didn't take me long perhaps because I wrote my first ISPF dialog in 1980 and I've ... |
Topic: How to kill my TSO session ? |
Steve Coalbran
Replies: 13
Views: 26375
|
Forum: TSO and ISPF Posted: Thu Aug 17, 2006 9:11 am Subject: How to kill my TSO session ? |
Hi tony01,
If you are locked out, as is oft the case: looping or chopped with reconnect failures, etc., and on your own working late...
(well it is Friday at 11:30 you doen't exactly want to ring u ... |
Topic: DISP=(MOD,PASS,CATLG) does not delete file after a clean run |
Steve Coalbran
Replies: 7
Views: 9176
|
Forum: Job Control Language(JCL) Posted: Thu Aug 17, 2006 8:02 am Subject: Re: DISP=(MOD,PASS,CATLG) does not delete file after a clean |
If I code DISP=(NEW,PASS,CATLG) for an existing dataset, and job runs clean, the dataset is deleted as expected. If I code DISP=(MOD,PASS,CATLG) and the job runs clean the dataset remains. This is not ... |
Topic: IEFC012I JCL STATEMENT MAXIMUM LENGTH EXCEEDED |
Steve Coalbran
Replies: 3
Views: 2537
|
Forum: Job Control Language(JCL) Posted: Thu Aug 17, 2006 6:13 am Subject: IEFC012I JCL STATEMENT MAXIMUM LENGTH EXCEEDED |
It's hard to imagine without seeing the source.
Could you post the full job - original JCL + SQL (pre-deletions)?
Please post it as a...
code]
:
:
:
/code]
so its clear to read.
/Ste ... |
Topic: FTP Design problem |
Steve Coalbran
Replies: 6
Views: 2918
|
Forum: Job Control Language(JCL) Posted: Thu Aug 17, 2006 3:16 am Subject: FTP Design problem |
Not really relevant but the LS -ALR comment made me try this on my MSDOS window in FTP to the host and (OK the -ALR gets...
550 No data sets found.
...) but just an LS it nicely lists my datasets ( |
Topic: Search all members within PDS based on some condition |
Steve Coalbran
Replies: 6
Views: 4941
|
Forum: Job Control Language(JCL) Posted: Wed Aug 16, 2006 10:19 am Subject: Search all members within PDS based on some condition |
Well, that would also change the solution which is rather more REXXy than before.
Here's a possible exec...
/*REXX*(SUPCEXT)*/
CALL M ... |
Topic: Search all members within PDS based on some condition |
Steve Coalbran
Replies: 6
Views: 4941
|
Forum: Job Control Language(JCL) Posted: Wed Aug 16, 2006 5:00 am Subject: Search all members within PDS based on some condition |
Hi Kolusu,
Thanks - good tip - I hadn't used that one before - I will in future!
/Steve |
Topic: Referenced Time of dataset. |
Steve Coalbran
Replies: 2
Views: 2316
|
Forum: Job Control Language(JCL) Posted: Wed Aug 16, 2006 4:37 am Subject: Referenced Time of dataset. |
Well the create date you can list by LISTDS... but you don't get the last referenced date.
// SET OD='(OLD,DELETE)'
// SET VS='( ... |
Topic: Passing parameters to INTERNAL READER |
Steve Coalbran
Replies: 7
Views: 4095
|
Forum: Job Control Language(JCL) Posted: Mon Aug 14, 2006 10:10 am Subject: Passing parameters to INTERNAL READER |
CLIST or REXX is not allowed in my project...
Very odd - it is an IT shop?
Are you allowed programs - because Rexx is just a language (a very good and powerful one but)...
You can co ... |
Topic: Search all members within PDS based on some condition |
Steve Coalbran
Replies: 6
Views: 4941
|
Forum: Job Control Language(JCL) Posted: Mon Aug 14, 2006 5:00 am Subject: Search all members within PDS based on some condition |
Continuing the assumption that if the first record in any member of your 'from-library' is either A1 or B1 then copy that member to a second 'to-library'...
Use SUPERC - ISPF Option 3.15, run in batc ... |
Topic: File Compare Issue |
Steve Coalbran
Replies: 3
Views: 1839
|
Forum: Job Control Language(JCL) Posted: Mon Aug 14, 2006 1:12 am Subject: File Compare Issue |
Hi,
This is quite easy in IBM's FileManager product (a part of their "AD Tools" set of products) (if you have it installed, which is possibly unlikely if you have FileAid, its competitor?). ... |
|