RUN COMMAND
Peter Bateman
pfbcs at hotmail.com
Mon Oct 2 16:43:22 CDT 2006
Does the cobol program work with generated file outside of powerhouse?
If so, create a script with a parameter to pass the file name to cobol.
Regards,
Peter
>To: powerh-l at lists.sowder.com
>Subject: RUN COMMAND
>
>Hello all,
>
>What is the best way to convert RUN COM in QDESIGN in MPE to UNIX?
>The scenario is in PROCEDURE DESIGNER
>run command "purge file A" + staff-id
>run command "purge file B" + staff-id
>run command "QTP" (to populate file A)
>run command "file a = A" + staff-id
>run command "file b = B" + staff-id
>run command "COBOLX"
>
>COBOLX uses A as input and B as output. the staff-id is dynamic based on
>
>Currently we are using the following command
>run command "rm A" + staff-id
>run command "rm B" + staff-id
>run command "QTP" (to populate file A)
>run command "ln -sf A" + staff-id + " a"
>run command "ln -sf B" + staff-id + " b"
>run command "$NLRUNCBL COBOLX.acu"
>
>Eventhough the data is created in file A+staff-id, COBOL seems not to read
>the
>data from there and printing out blanks.
>
>
>Thanks & regards,
>Ghani.
>
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l at lists.sowder.com
>Subscribe: "subscribe" in message body to
>powerh-l-request at lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request at lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>Add 'site:lists.sowder.com powerh-l' to your search terms to search the
>list
>archive at Google.
>
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l at lists.sowder.com
>Subscribe: "subscribe" in message body to
>powerh-l-request at lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request at lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>Add 'site:lists.sowder.com powerh-l' to your search terms to search the
>list archive at Google.
_________________________________________________________________
Buy what you want when you want it on Sympatico / MSN Shopping
http://shopping.sympatico.msn.ca/content/shp/?ctId=2,ptnrid=176,ptnrdata=081805
More information about the powerh-l
mailing list