Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to update VB Seq dataset in Rexx using File tailoring sk

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Phalgun

New User


Joined: 18 May 2009
Posts: 16
Location: Hyd

PostPosted: Sat Nov 10, 2012 5:18 pm    Post subject: How to update VB Seq dataset in Rexx using File tailoring sk
Reply with quote

Hi ,
I got requirement to add FTP step to JCL and pass values from rexx so that after job completes pds file display on particular website . My rexx tool is working fine to pass values to JCL using file tailoring skeleton but a FTP step which as VB Length sequential dataset as input , My updates are not working in that sequential file .
JBCRD001 is job card

EXSRTNMC is JCL

I hm looking for solution how to update that sequential dataset VXXXXX.SYSTEM.FTP.TEST Which is in EXSRTNMC JCL as input file .
Please suggest

Code:
 
ADDRESS 'ISPEXEC' "LIBDEF ISPSLIB DATASET ID('SYSSUP.LOCAL.ISPSLIB')"
000050    ADDRESS 'ISPEXEC' 'CONTROL ERRORS CANCEL'                           
000051    ADDRESS 'ISPEXEC' 'FTOPEN'                                           
000052    ADDRESS 'ISPEXEC' 'FTINCL JBCRD001'                                 
000053 RETURN                                                                 
000054                                                                         
000055 FILE_TAILOR_INCLUDE:                                                   
000056    ADDRESS 'ISPEXEC' "LIBDEF ISPSLIB DATASET ID('SYSSUP.LOCAL.ISPSLIB')"
000057    ADDRESS 'ISPEXEC' 'FTINCL EXSRTNMC'                                 
000058 RETURN                                                                 
000059                                                                         
000060 FILE_TAILOR_END:                                                       
000061    SAY CRTLIB                                                           
000062    ADDRESS 'ISPEXEC' "LIBDEF ISPSLIB DATASET ID('SYSSUP.LOCAL.ISPSLIB')"
000063    ADDRESS 'ISPEXEC' 'FTCLOSE


I m able to update JCL values via rexx but not able to update VB lenght PS file
I tried to give
ADDRESS 'ISPEXEC' "LIBDEF ISPFILE DATASET ID('vxxxx.system.ftp.test')" ..But it is not working ..
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Sat Nov 10, 2012 7:26 pm    Post subject: Reply to: How to update VB Seq dataset in Rexx using File ta
Reply with quote

Quote:
ADDRESS 'ISPEXEC' "LIBDEF ISPFILE DATASET ID('vxxxx.system.ftp.test')" ..But it is not working ..


and what do You want Us to do about it

when You ask for help learn to post all the info needed to help Us to help You

telling ... it is not working is just a waste of time for everybody
icon_evil.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1775
Location: Bloomington, IL

PostPosted: Sat Nov 10, 2012 7:48 pm    Post subject: Re: How to update VB Seq dataset in Rexx using File tailorin
Reply with quote

Phalgun wrote:
Please suggest

As is so often the case, you are performing no error checking and no tracing, so you don't know what's happening and not happening, and why and why not. Do those things and, if the error and its solution is not then obvious to you, come back.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2083
Location: Silicon Valley

PostPosted: Mon Nov 12, 2012 8:24 pm    Post subject: Reply to: How to update VB Seq dataset in Rexx using File ta
Reply with quote

Use ISPFTTRC command prior to running your exec, and again afterwards.

And tell us what fails, with any return codes and messages received.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us