so last part is to write the member modified in VIEW mode to an existing PDS as a new member using CREATE. When I add the following line (LASTLINE is a variable equal to the numeric value of the last line) :
"CREATE CCP.BASE.REXX.MFOPS(TESTPROC) 1 "LASTLINE
I get the following error :
Data set not allocated
In a macro the target data set must be allocated for the CREATE command
I do not see an ALLOCATE command within the ISREDIT commands and so I tried adding
"ALLOCATE DDNAME(INFILE) DSNAME('CCP.BASE.REXX.MFOPS') SHR"
prior to
ADDRESS ISREDIT
"MACRO"
this doesn't cause any error/issue but I still get the same error from the CREATE
REXX w/ ISPEXEC VIEW and obtaining data from it
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: REXX w/ ISPEXEC VIEW and obtaining data from it
Is CREATE CCP.BASE.REXX.MFOPS a fully qualified name? In which case you should put single quotes around it. I recommand always use quoted fully qualified names i.e.
to avoid confusion.
Your ALLOCATE will not help you as CREATE does not take a DDname as argument.
Code: Select all
"CREATE 'CCP.BASE.REXX.MFOPS(TESTPROC)' 1 "LASTLINE
to avoid confusion.
Your ALLOCATE will not help you as CREATE does not take a DDname as argument.
-
- Posts: 27
- Joined: Fri Dec 09, 2022 6:59 pm
- Skillset: CA-7, JCL, SORT, Roscoe, TSO, REXX
- Referer: just found you on the Internet
Re: REXX w/ ISPEXEC VIEW and obtaining data from it
Thanks !...I missed that
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 6813
-
by socker_dad
View the latest post
Wed May 04, 2022 12:59 am
-
- 4
- 3245
-
by socker_dad
View the latest post
Fri Dec 31, 2021 5:28 am
-
-
eliminate duplicates with different data
by cobol_dev » Fri Jun 03, 2022 3:47 am » in DFSORT/ICETOOL/ICEGENER - 7
- 1859
-
by cobol_dev
View the latest post
Wed Jun 15, 2022 10:44 pm
-
-
-
Copying All Data Off An Old Mainframe
by zunebuggy » Wed Sep 25, 2024 1:10 am » in Mainframe Security - 0
- 1577
-
by zunebuggy
View the latest post
Wed Sep 25, 2024 1:10 am
-
-
- 1
- 2570
-
by engh
View the latest post
Thu Jun 22, 2023 5:35 pm