IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to copy the TSQ to a file


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kick
Warnings : 1

New User


Joined: 12 Apr 2005
Posts: 24
Location: shanghai china

PostPosted: Thu Nov 10, 2005 3:46 pm
Reply with quote

hi, guys.


i have a tsq. and i want to copy the tsq to a file.

some guys can advise a solution ??


thanks & regards.

kick
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Sat Nov 12, 2005 1:54 am
Reply with quote

You need to write a CICS Program to read the record from TSQ and then you can write them into a File one by one.
Back to top
View user's profile Send private message
neethureddy

New User


Joined: 13 Nov 2005
Posts: 2

PostPosted: Sun Nov 13, 2005 6:53 pm
Reply with quote

Hi,

here is a solutions for how to copy tsq to file.


first we want to read a tsq record by record using cics read ts command and then by using file contraol commands u wnat to write the record which u read from tsq into that particular file when this one should end is when QZERO error will comes.


cheers
neethu reddy
chenni(india)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top