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

Inserting records into a ps from another PS


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Mon Mar 23, 2009 5:45 pm
Reply with quote

Hi all,

I want to insert some records into a ps from another ps using a jcl..
Can anyone tell me how can i do this..
I am using DFSORT April 2006 version

Thanks in advance,
Ravi
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Mon Mar 23, 2009 6:24 pm
Reply with quote

Hi hiravibk

Give full details:

Length of the input PS file
Length of the output PS file
how many records the input file contains
Out of those records how many you need to copy into output PS
what is the criteria to copy the records?

then you will get a quick reply from somebody!
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Mar 23, 2009 9:21 pm
Reply with quote

Ravi,

Please show an example of the records in each input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input files.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue Mar 24, 2009 10:04 am
Reply with quote

Hi all,

I could do this using a merge...
I had two files which has a date field starting from col: 79..
i did a merge using this date field in descending order...and it was fine
thank you all for looking into this and giving valuable suggestions...

Thanks
Ravi
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
Search our Forums:

Back to Top