dilipkumartr
Programmer
Hello Everyone,
1.I got this piece of code to identify the Line Count in a Tape Dataset
/* Rexx */
"ALLOC FI(INPUTD) DA('@...(DATA)') shr"
"Execio * DISKR INPUTD (Finis Stem In."
say In.0;
When I try this code, I get the following error message
IKJ56709I INVALID DATA SET NAME, '@...'
IKJ56701I MISSING DATA SET NAME OR *+
IKJ56701I MISSING NAME OF DATA SET TO BE ALLOCATED
Let me know how I should correct it.
To invoke the macro I am just typing the name of the macro infront of the dataset
I am basically interested to modify the above macro to do other function on a Tape dataaset.
2. General REXX question. How can I get the name of the dataset to REXX, when I invoke the REXX by keying the name of the REXX infront of the dataset, just like the edit or the browse command.
I have few REXX, that I invoke like
TSO PGMMAP 'userid.test(member)'
I want to modify this , I want to just type PGMMAP infront of the member and the REXX should be invoked.
Is this possible, if so how should it be done
Thanks
Dilip
1.I got this piece of code to identify the Line Count in a Tape Dataset
/* Rexx */
"ALLOC FI(INPUTD) DA('@...(DATA)') shr"
"Execio * DISKR INPUTD (Finis Stem In."
say In.0;
When I try this code, I get the following error message
IKJ56709I INVALID DATA SET NAME, '@...'
IKJ56701I MISSING DATA SET NAME OR *+
IKJ56701I MISSING NAME OF DATA SET TO BE ALLOCATED
Let me know how I should correct it.
To invoke the macro I am just typing the name of the macro infront of the dataset
I am basically interested to modify the above macro to do other function on a Tape dataaset.
2. General REXX question. How can I get the name of the dataset to REXX, when I invoke the REXX by keying the name of the REXX infront of the dataset, just like the edit or the browse command.
I have few REXX, that I invoke like
TSO PGMMAP 'userid.test(member)'
I want to modify this , I want to just type PGMMAP infront of the member and the REXX should be invoked.
Is this possible, if so how should it be done
Thanks
Dilip