Writing data in Sequential file thru rexx



IBM's Command List programming language & Restructured Extended Executor

Writing data in Sequential file thru rexx

Postby arya_starc » Sun Jan 08, 2017 8:33 pm

Hi All,

I am writig hard code syntax in sequential file thru rexx thru the outline command.
Below is the code.

/*  rexx  */
"ALLOC F(INFILE) DSN('TS.TEST.FILE.SE')
"
EXECIO * DISKR INFILE( FINIS STEM MYFILE."
"FREE F(INFILE)"
out = lineout(TS.TEST.FILE.SE."LINE 1")
 


this is giving error message Routine not found
arya_starc
 
Posts: 136
Joined: Mon Sep 21, 2015 1:39 pm
Has thanked: 5 times
Been thanked: 0 time

Re: Writing data in Sequential file thru rexx

Postby enrico-sorichetti » Sun Jan 08, 2017 9:43 pm

just guessing ( You posted nothing useful for the problem determination )

probably because the Rexx extension which implements lineout was not installed
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Writing data in Sequential file thru rexx

Postby NicC » Mon Jan 09, 2017 3:41 pm

So you need to use EXECIO for all your I/O and read the rexx manual for z/OS to see what other functions are not available without the extension.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post