system command to place user in a specific record number

Scott Walker ScottWalker at RAMSystemsCorp.com
Thu May 26 20:46:40 PDT 2011



> -----Original Message-----
> From: filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
> [mailto:filepro-list-
> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com] On Behalf
> Of Dennis Malen
> Sent: Thursday, May 26, 2011 11:37 PM
> To: filepro-list at lists.celestial.com
> Subject: system command to place user in a specific record number
> 
> The user is sitting in a file and needs to be placed in the targetfile.
> Is
> there any way I can place a user in a specific record number that is
> identified and known before they are placed in the target file with the
> use
> of a system command?
> 
> If I know the record I want to place the user in is record number
> 20,000 can
> I use any variation of:
> 
>  system "/appl/fp/rclerk targetfile...."
> 
> There does not seem to be a flag (IUA) for this situation.
> 
> Any thoughts.
> 
> Dennis Malen
> 516.479.5912
> 

Just a thought...

can you pass the record number (with -r) to the processing running on
"targetfile" that you are starting with the system command, and then do a
lookup - using the passed record number to position you to the desired
record.   You would probably do that in @ONCE.

Regards,


Scott





More information about the Filepro-list mailing list